A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

ByVac I2C LCD controller

I got the ByVac BV4208 working, the library is here.
To use include the library “Wire” and then “ByVacLCD” (I don’t know why you have to include “Wire” even though the library already includes it but you do – I spent ages on this one). Note as this is I2C it uses analog inputs 4 and 5.

#include <Wire .h>
#include <ByVacLCD .h>
// declare the object – address in the data sheet is 0x42 but you
// need to divide this by two to get the ‘normal’ 7 bit I2C address
// – the low order bit is added on by Wire.
// this declaration is for 4 rows of 20 characters.
ByVacLCD bv = ByVacLCD(0x21,4,20);

void setup()
bv.print(“Hello World”);

void loop()

Comments are closed.