Arduino library for the Rohm BU9796 Segment LCD Display Controller
#include "bu9796.h"
BU9796 display;
int counter = 0;
void setup()
{
//init BU9796
display.begin();
}
void loop()
{
//write new counter value to buffer
display.writeValue(counter);
//write buffer to BU9796 RAM
display.update();
//increment counter variable
counter++;
//reset counter
if(counter>9999)
{
counter = 0;
}
delay(1000);
}
MKE supports the open source hardware community by sharing hardware design files freely on GitHub!
Please support MKE by purchasing products on Tindie!
Designed by Mike Kushnerik (miekush)