Example Code for Newhaven Display's 0420CW Slim OLED!
Target: Arduino
Language: Arduino Sketch
Interface: Serial SPI
Display Voltage: 3.3V or 5V
Logic Voltage: 3.3V or 5V
- Initialize display.
- Print
Slim Oled Demo Newhaven Display. - Wait 5 seconds.
- Clear the screen.
- Print
Scroll Right. - Scroll display to the right.
- Clear the screen.
- Print
Scroll Left. - Scroll display to the left.
- Clear the screen.
- Print unique characters.
- Wait 7.5 seconds.
- Clear the screen.
- Configure dispay to draw double height characters.
- Print
Double Height Characters. - Wait 7.5 seconds.
- Clear the screen.
- Initialize display.
- Loop back to step 5.