Arduino
: 01 jan 2019, 18:37
Hej.
Er der en herinde der kan hjælpe mig med mit Arduino, jeg kan ikke få det til at virke.
Jeg får følgende fejlmeddelelse:
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void draw()':
sketch_aug07a:140: error: 'u8g' was not declared in this scope
u8g.setColorIndex(1);
^
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void setup()':
sketch_aug07a:233: error: 'u8g' was not declared in this scope
u8g.begin();
^
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void loop()':
sketch_aug07a:253: error: 'u8g' was not declared in this scope
u8g.firstPage();
^
exit status 1
'u8g' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Håber på hjælp.
MVH
John
Er der en herinde der kan hjælpe mig med mit Arduino, jeg kan ikke få det til at virke.
Jeg får følgende fejlmeddelelse:
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void draw()':
sketch_aug07a:140: error: 'u8g' was not declared in this scope
u8g.setColorIndex(1);
^
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void setup()':
sketch_aug07a:233: error: 'u8g' was not declared in this scope
u8g.begin();
^
C:\Users\John Sarby\Documents\Arduino\sketch_aug07a\sketch_aug07a.ino: In function 'void loop()':
sketch_aug07a:253: error: 'u8g' was not declared in this scope
u8g.firstPage();
^
exit status 1
'u8g' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Håber på hjælp.
MVH
John