I'm trying to build a hand held point of sale using Arduino UNO
my problem is i use a tft 2.4 screen shield , it occupies all the pins i can't figure where or how to connect the clk and data of barcode scanner
thanks
my problem is i use a tft 2.4 screen shield , it occupies all the pins
Does "occupies" mean "uses"? Or does it mean "plugs into but doesn't use"?
PaulS:
Does "occupies" mean "uses"? Or does it mean "plugs into but doesn't use"?
I think uses
fidamon:
I think uses
That was a hint for you to post a link to the device you are using. I can't imagine a useful shield using EVERY pin.
PaulS:
That was a hint for you to post a link to the device you are using. I can't imagine a useful shield using EVERY pin.
// D0 connects to digital pin 8 (Notice these are
// D1 connects to digital pin 9 NOT in order!)
// D2 connects to digital pin 2
// D3 connects to digital pin 3
// D4 connects to digital pin 4
// D5 connects to digital pin 5
// D6 connects to digital pin 6
// D7 connects to digital pin 7
SD card digital 10,11,12,13
#define LCD_CS A3
#define LCD_CD A2
#define LCD_WR A1
#define LCD_RD A0
// optional
#define LCD_RESET A4
A5 may be free
From your link:
Uses digital pins 5-13 and analog 0-3. Digital pins 2, 3 and analog 4 and 5 are available for user defined purpose.. Pin 12 is available if micro SD is not used.
#define LCD_RESET A4
// D2 connects to digital pin 2
// D3 connects to digital pin 3