I want to use UNO digital pin 10 in place of pin 2 for the 2.4 inch MCUFriend diplay. I have modified the pinmagic.h file of TFTLCD Library but it's not working.Can anyone find the error?
#else // Uno w/Breakout board
#define write8inline(d) { \
PORTD = (PORTD & B00000111) | ((d) & B11111000); \
PORTB = (PORTB & B11111000) | ((d) & B00000111); \
WR_STROBE; }
#define read8inline(result) { \
RD_ACTIVE; \
DELAY7; \
result = (PIND & B11111000) | (PINB & B00000111); \
RD_IDLE; }
#define setWriteDirInline() { DDRD |= B11111000; DDRB |= B00000111; }
#define setReadDirInline() { DDRD &= ~B11111000; DDRB &= ~B00000111; }
#endif