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

More error #16

Open
brightproject opened this issue Jun 28, 2022 · 0 comments
Open

More error #16

brightproject opened this issue Jun 28, 2022 · 0 comments

Comments

@brightproject
Copy link

ST7735_AmigaBall:60:41: error: 'RGBto565' was not declared in this scope
uint16_t bgCol = RGBto565(160,160,160);
^
ST7735_AmigaBall:61:38: error: 'RGBto565' was not declared in this scope
uint16_t bgColS = RGBto565(90,90,90);
^
ST7735_AmigaBall:62:40: error: 'RGBto565' was not declared in this scope
uint16_t lineCol = RGBto565(150,40,150);
^
ST7735_AmigaBall:63:38: error: 'RGBto565' was not declared in this scope
uint16_t lineColS = RGBto565(80,10,80);
^
C:\Users\Admin\Documents\Arduino\Arduino_ST7735_STM-master\examples\ST7735_AmigaBall\ST7735_AmigaBall.ino: In function 'void drawBall(int, int)':
ST7735_AmigaBall:119:5: error: 'lcd' was not declared in this scope
lcd.drawImage(0,yy,SCR_WD,1,line);
^
C:\Users\Admin\Documents\Arduino\Arduino_ST7735_STM-master\examples\ST7735_AmigaBall\ST7735_AmigaBall.ino: In function 'void setup()':
ST7735_AmigaBall:126:3: error: 'lcd' was not declared in this scope
lcd.init();
^
C:\Users\Admin\Documents\Arduino\Arduino_ST7735_STM-master\examples\ST7735_AmigaBall\ST7735_AmigaBall.ino: In function 'void loop()':
ST7735_AmigaBall:155:38: error: 'WHITE' was not declared in this scope
palette[i+1] = ((i+anim)%14)<7 ? WHITE : RED;
^
ST7735_AmigaBall:155:46: error: 'RED' was not declared in this scope
palette[i+1] = ((i+anim)%14)<7 ? WHITE : RED;

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

1 participant