GastonLagaffe

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: RC Controller V2.0 and V2.1 Code #1689
    GastonLagaffe
    Participant

    Salut,
    I copied the glcdfont.c file from the library Adafruit_GFX adn the registers.h from Adafruit_TFTLCD and this worked on my controller.
    Did you get the TFT with the kit or did you use your own? I got my own TFT from previous projects and had ti adjust the driver.

    You can test the TFT directly by running the examples in the Adafruit_TFTLCD library.

    Ciao, Mathias

    • This reply was modified 7 years, 10 months ago by GastonLagaffe.

    in reply to: RC Controller V2.0 and V2.1 Code #1679
    GastonLagaffe
    Participant

    Salut,
    the code has some problems:
    – RCTractorControllerAdafruit_TFTLCD.cpp – on lines 24 and 25 you define the screen size to be 480×320, changed back to 240×320 for 2.4″ TFT
    – RCTractorControllerV2.cpp – on line 988 you hard-code the rotation to 2 (most likely due to the large screen you used), changed back to 0

    Encoder Left_1 and Right_1 work ok
    All buttons work as expected.

    The touch function is not (yet) working: it is upside down and it states: “Unknown controller”. It reads the y-position but not the x-position. Will need to investigate if this is related to the large LCD settings

    Ciao, Mathias

    • This reply was modified 7 years, 10 months ago by GastonLagaffe. Reason: error on joystick resolved
    in reply to: RC Controller V2.0 and V2.1 Code #1678
    GastonLagaffe
    Participant

    Salut,
    thanks for the link. Unfortunately arduinoIDE 1.6.8 seems not to like the mega pro as it is not able to upload to that board. As I use UECIDE (uecide.org) I was able to upload the sketch using that more flexible IDE.

    WOuld it be possible that you publish the schematics for the controller? I am using a ITEAD 2.4 shield and I need to adjust the code to match this TFT driver.

    Ciao, Mathias

    in reply to: RC Controller V2.0 and V2.1 Code #1675
    GastonLagaffe
    Participant

    Salut,
    I cannot see any link to download the software. I registered and logged in but did not help

    Ciao, Mathias

Viewing 4 posts - 1 through 4 (of 4 total)