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
In file included from C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:9:0:
C:\Users\User\OneDrive\Desktop\glasses arduino\bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'
PROGMEM const unsigned char* bitmap_array[] = {
^
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino: In function 'void setup()':
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:141:11: error: 'buttonPin' was not declared in this scope
pinMode(buttonPin, INPUT); // Defines button pin
^~~~~~~~~
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino: In function 'void loop()':
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:164:18: error: 'buttonPin' was not declared in this scope
if(digitalRead(buttonPin) == LOW) isClicked = LOW;
^~~~~~~~~
exit status 1
Compilation error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'
The text was updated successfully, but these errors were encountered:
In file included from C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:9:0:
C:\Users\User\OneDrive\Desktop\glasses arduino\bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'
PROGMEM const unsigned char* bitmap_array[] = {
^
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino: In function 'void setup()':
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:141:11: error: 'buttonPin' was not declared in this scope
pinMode(buttonPin, INPUT); // Defines button pin
^~~~~~~~~
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino: In function 'void loop()':
C:\Users\User\OneDrive\Desktop\glasses arduino\glasses arduino.ino:164:18: error: 'buttonPin' was not declared in this scope
if(digitalRead(buttonPin) == LOW) isClicked = LOW;
^~~~~~~~~
exit status 1
Compilation error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'
The text was updated successfully, but these errors were encountered: