In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,
from sketch/HelloOLED.ino.cpp:1:
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font5x7.h:7:19: error: redefinition of 'const uint8_t _n []'
OLEDFONT(font5x7) PROGMEM =
^
In file included from /Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/examples/HelloOLED/HelloOLED.ino:21:0:
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/ACROBOTIC_SSD1306.h:32:72: note: 'const uint8_t _n [762]' previously defined here
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font8x8.h:7:1: note: in expansion of macro 'OLEDFONT'
OLEDFONT(font8x8) PROGMEM =
^~~~
exit status 1
Error compiling for board Arduino Uno.
Here is the error message:
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0, from sketch/HelloOLED.ino.cpp:1: /Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font5x7.h:7:19: error: redefinition of 'const uint8_t _n []' OLEDFONT(font5x7) PROGMEM = ^ In file included from /Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/examples/HelloOLED/HelloOLED.ino:21:0: /Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/ACROBOTIC_SSD1306.h:32:72: note: 'const uint8_t _n [762]' previously defined here
define OLEDFONT(name) static const uint8_t attribute ((progmem))_n[]
/Users/XXX/Documents/Arduino/libraries/ACROBOTIC_SSD1306/fonts/font8x8.h:7:1: note: in expansion of macro 'OLEDFONT' OLEDFONT(font8x8) PROGMEM = ^
~~~ exit status 1 Error compiling for board Arduino Uno.