Originally posted by Spectrum
View Post
Pls help
Arduino: 1.6.8 (Windows 7), Board: "Arduino Nano, ATmega328" 2 3 C:\Users\pc\AppData\Local\Temp\untitled28901596.tm p\sketch_oct30a\Arduino_PI_Teleno.ino: In function 'void setup()': 4 5 Arduino_PI_Teleno:132: error: redefinition of 'void setup()' 6 7 void setup() { 8 9 ^ 10 11 Arduino_PI_Teleno:1: error: 'void setup()' previously defined here 12 13 14 15 ^ 16 17 Arduino_PI_Teleno:141: error: 'tiny4koled_init_128x32br' was not declared in this scope 18 19 oled.begin(width, height, sizeof(tiny4koled_init_128x32br), tiny4koled_init_128x32br); 20 21 ^ 22 23 Arduino_PI_Teleno:144: error: 'class SSD1306Device' has no member named 'setSpacing' 24 25 oled.setSpacing(1); 26 27 ^ 28 29 Arduino_PI_Teleno:146: error: 'class SSD1306Device' has no member named 'setSpacing' 30 31 oled.setSpacing(smallFont->spacing + 1); 32 33 ^ 34 35 Arduino_PI_Teleno:146: error: 'const struct DCfont' has no member named 'spacing' 36 37 oled.setSpacing(smallFont->spacing + 1); 38 39 ^ 40 41 Arduino_PI_Teleno:156: error: 'class SSD1306Device' has no member named 'setSpacing' 42 43 oled.setSpacing(1); 44 45 ^ 46 47 Arduino_PI_Teleno:158: error: 'class SSD1306Device' has no member named 'setSpacing' 48 49 oled.setSpacing(largeFont->spacing + 1); 50 51 ^ 52 53 Arduino_PI_Teleno:158: error: 'const struct DCfont' has no member named 'spacing' 54 55 oled.setSpacing(largeFont->spacing + 1); 56 57 ^ 58 59 C:\Users\pc\AppData\Local\Temp\untitled28901596.tm p\sketch_oct30a\Arduino_PI_Teleno.ino: In function 'void loop()': 60 61 Arduino_PI_Teleno:272: error: redefinition of 'void loop()' 62 63 void loop() { 64 65 ^ 66 67 Arduino_PI_Teleno:6: error: 'void loop()' previously defined here 68 69 * 3 - OLED interface to visulaize the delay 70 71 ^ 72 73 exit status 1 74 redefinition of 'void setup()' 75 76 This report would have more information with 77 "Show verbose output during compilation" 78 option enabled in File -> Preferences. 79




Leave a comment: