I think you guessed correctly.
I got the ITDB02 touch library working after having identified the control pins correctly.
Did the same for the UTFT initializer:
I couldn't find the Reset pin on this page
, so i set it temporarily to A2 for lack of better ideas.
This did't work ofcourse but I feel a bit more confident about that line than the previous.
Anyways, I came across this article http://www.henningkarlsen.com/electronics/h_utft_arduino_shield_on_mega.php
and seeing as they're hard referenced by avr names i figured i might aswell compare the differences between an uno and leo;
Here's a mapping comparison for the DB8->DB15 pin referenced by the shield:
Pin TFT Leo Uno
D0 DB8 PD2 PD0
D1 DB9 PD3 PD1
D2 DB10 PD1 PD2
D3 DB11 PD0 PD3
D4 DB12 PD4 PD4
D5 DB13 PC6 PD5
D6 DB14 PD7 PD6
D7 DB15 PE6 PD7
And just as I feared; the mappings completley different..
So I guess i'll have to patch UTFT to add support to the Leo.
I see some blocks like these defined in the UTFT library:
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
Guess i'll have to add an else-if clause, does anyone know the Identifier for ATmega32U4 ? (maybe it's plainly __AVR_ATmega32U4__ ? )