SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By peak@sparkfun
#161656
Hi All,

I've got this display: http://www.electrokit.com/2-4-tft-lcd-t ... uino.49420
It's working on Standard UNO (5V) but just lit up on the Sparkfun Mega Pro (http://www.electrokit.com/mega-pro-5v-a ... belt.49198).
I've cut the 3,3V feed as it is connected to 5V on Sparkfun Mega Pro 5V. Yes, Works on Uno with the cut! Tested all relevant outputs on the Mega, Working !

Anyone got a clue?

Regards
Peter
User avatar
By Ross Robotics
#161665
So what's your question?

Check the pin mappings because the Uno is different from the Mega.
By peak@sparkfun
#161676
Well, apart from the above mentioned difference between 3,3 and 5V pins, the pin mappings are identical regading the pins used by the display.

Regards
Peter
By peak@sparkfun
#161681
Does the Sparkfun Mega Pro use different CPU pins to the corresponding digital and analog pins than the Arduino Mega? If so, that'd explain the discrepancy. Anyone knows?

Regards
Peter
By peak@sparkfun
#161717
Got it working now. For further reference:
Two things needed:
1. Uncomment USE_UNO_SHIELD_ON_MEGA in HW_Atmega1280.h
2. Change UTFT myGLCD(ITDB24E_8, 19, 18, 17, 16); to UTFT myGLCD(ITDB24E_8, A5, A4, A3, A2);

Regards
Peter
By MBlank
#180358
Hello,

I noticed that you were having issues with sparkfun's mega board working with a tft screen, but you were able to solve your problem. I am having a very similar issue using their mega pro mini 3.3V board. I tried following your solutions to the problem, but the libraries aren't the same. The chip that's used for this board is ATmega2560, so have you had any experience using it with a tft screen?