Using Firmata on the Arduino board and Firmata4j with Java JDK 17 and IntelliJ let's write text on the Arduino's OLED display. This particular board is a Grove Beginner Kit for Arduino from Seeed Studio.
This program requires that Firmata be loaded on to your Arduino device. Firmata is available from the Arduino IDE in "Examples". (http://firmata.org/wiki/Main_Page)
Firmata4j is the Java library that speaks to Firmata on your Arduino (https://github.com/kurbatov/firmata4j).
More on my blog page here: https://www.yorku.ca/professor/drsmit...
Note that you need to include updates for the JSSC and SLF4J libraries, depending on your version of Java and the OS that you're running on . More here: https://www.yorku.ca/professor/drsmit...