Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of bugs on Mega 2560 #41

Open
Laremit opened this issue Jan 12, 2020 · 1 comment
Open

Lots of bugs on Mega 2560 #41

Laremit opened this issue Jan 12, 2020 · 1 comment

Comments

@Laremit
Copy link

Laremit commented Jan 12, 2020

`In file included from \Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:19:0:

\Arduino\libraries\Adafruit_TFTLCD_Library\pin_magic.h:282:33: warning: backslash and newline separated by space

#define read8inline(result) { \

                             ^

\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:803:0: warning: "read8" redefined

#define read8(x) x=read8fn()

^

In file included from C:\Users\Patryk\Documents\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:19:0:

\Arduino\libraries\Adafruit_TFTLCD_Library\pin_magic.h:183:0: note: this is the location of the previous definition

#define read8 read8inline

^

\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::init()':

\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:115:3: error: 'textsize' was not declared in this scope

textsize = 1;

^

In file included from \Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:19:0:

\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::begin(uint16_t)':

\Arduino\libraries\Adafruit_TFTLCD_Library\pin_magic.h:401:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]

hi = (d) >> 8; lo = (d); CD_DATA ; write8(hi); write8(lo); }

                 ^

\Arduino\libraries\Adafruit_TFTLCD_Library\pin_magic.h:187:29: note: in expansion of macro 'writeRegister16inline'

#define writeRegister16 writeRegister16inline

                         ^

\Arduino\libraries\Adafruit_TFTLCD_Library\Adafruit_TFTLCD.cpp:283:5: note: in expansion of macro 'writeRegister16'

 writeRegister16(ILI9341_VCOMCONTROL1, 0x2B2B);

 ^

exit status 1
`
My console output when trying to load graphictest

@IOS2000
Copy link

IOS2000 commented May 8, 2021

Same problem.....
How to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants