Forum Replies Created
- AuthorPosts
- GastonLagaffeParticipant
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.
GastonLagaffeParticipantSalut,
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 0Encoder 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
GastonLagaffeParticipantSalut,
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
GastonLagaffeParticipantSalut,
I cannot see any link to download the software. I registered and logged in but did not helpCiao, Mathias
- AuthorPosts