You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm new for arduino and I use arduino mega 2560 with tftlcd 2.4 with shield but after I test the program this code is show.
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:933:0: warning: "read8" redefined
#define read8(x) x = read8fn()
In file included from C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:17:0:
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:230:0: note: this is the location of the previous definition
#define read8 read8inline
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::begin(uint16_t)':
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:533:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
lo = (d);
^
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:234:25: note: in expansion of macro 'writeRegister16inline'
#define writeRegister16 writeRegister16inline
^~~~~~~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:352:5: note: in expansion of macro 'writeRegister16'
writeRegister16(ILI9341_VCOMCONTROL1, 0x2B2B);
^~~~~~~~~~~~~~~
And it can still upload to board but the screen not show anything.
Please ask for advice.
The text was updated successfully, but these errors were encountered:
Hi I'm new for arduino and I use arduino mega 2560 with tftlcd 2.4 with shield but after I test the program this code is show.
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:933:0: warning: "read8" redefined
#define read8(x) x = read8fn()
In file included from C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:17:0:
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:230:0: note: this is the location of the previous definition
#define read8 read8inline
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::begin(uint16_t)':
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:533:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
lo = (d);
^
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\pin_magic.h:234:25: note: in expansion of macro 'writeRegister16inline'
#define writeRegister16 writeRegister16inline
^~~~~~~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\TFTLCD-Library-1.0.3\Adafruit_TFTLCD.cpp:352:5: note: in expansion of macro 'writeRegister16'
writeRegister16(ILI9341_VCOMCONTROL1, 0x2B2B);
^~~~~~~~~~~~~~~
And it can still upload to board but the screen not show anything.
Please ask for advice.
The text was updated successfully, but these errors were encountered: