Hi David,
I tried using KS0108 Library and got an error. The error is:
Arduino: 1.8.16 (Windows 10), Board: "Arduino Uno"
In file included from C:<Path>\Arduino\libraries\KS0108-master\examples\GLCDexample\GLCDexample.pde:11:0:
C:<Path>\libraries\KS0108-master/ks0108.h:32:17: error: conflicting declaration 'typedef uint8_t boolean'
typedef uint8_t boolean;
^~~~~~~
In file included from sketch\GLCDexample.pde.cpp:1:0:
C:\Users<Path>\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:126:14: note: previous declaration as 'typedef bool boolean'
typedef bool boolean;
^~~~~~~
In file included from C:\Users<Path>\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino/Arduino.h:28:0,
from sketch\GLCDexample.pde.cpp:1:
C:<Path>\libraries\KS0108-master/Arial14.h:48:27: error: variable 'Arial_14' must be const in order to be put into read-only section by means of 'attribute((progmem))'
static uint8_t Arial_14[ ] PROGMEM = {
^
C:<Path>\libraries\KS0108-master/SystemFont5x7.h:41:28: error: variable 'System5x7' must be const in order to be put into read-only section by means of 'attribute((progmem))'
static uint8_t System5x7[ ] PROGMEM = {
^
C:<Path>\libraries\KS0108-master/ArduinoIcon.h:11:30: error: variable 'ArduinoIcon' must be const in order to be put into read-only section by means of 'attribute((progmem))'
static uint8_t ArduinoIcon[ ] PROGMEM = {
^
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
When I used U8g2lib, the display turns on and shows this:
Thank you.