Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

TFT Touch Shield V1.0 with Leonardo?

$
0
0
Hello,

Could you please check if the example code mentioned in http://www.seeedstudio.com/wiki/2.8''_T ... hield_V1.0 . It looks like the necessary pin re-mapping for Leonardo is mentioned in that code :

Code: #elif defined(__AVR_ATmega32U4__) // leonardo
#define YP A2   // must be an analog pin, use "An" notation!
#define XM A1   // must be an analog pin, use "An" notation!
#define YM 18   // can be a digital pin, this is A0
#define XP 21   // can be a digital pin, this is A3


Thanks

Statistics : Posted by xxobsoletexx • on Wed Feb 11, 2015 11:12 am • Replies 2 • Views 86

Viewing all articles
Browse latest Browse all 6612

Trending Articles