Saturday, 26 October 2013

Updated wide.HK OLED 1602 Library

Thanks to Nathan from there is now a scrolling function in the Library.

This allows you to specify some text, the line to display it on and the speed to scroll it at.

Sample code by Nathan (modified by me to remove the scrollString function as it's now in the library).

Scrolling demo on the OLED 1602 display from Wide.HK.
Uses Library by Phil Grant
Scrolling by Nathan Chantrell

#include  "Wire.h"
#include  "OLedI2C.h" //


void setup() {

void loop() {
scrollString("Slowly scrolling text on line one...",0,200);
scrollString("and faster on line two...",1,100);

Download here: Updated OLED 1602 Library

Now on GitHub

No comments:

Hot water control using a Raspberry Pi Zero W

Following on from the first blog about the hot water heating control here's what I put together for the mounting. Whilst looking for a...

Popular Posts