miekush / arduino-bu9796

Arduino library for the Rohm BU9796 Segment LCD Display Controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino BU9796

Arduino library for the Rohm BU9796 Segment LCD Display Controller

Example Usage

#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);
}

License

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)

About

Arduino library for the Rohm BU9796 Segment LCD Display Controller

License:MIT License


Languages

Language:C++ 100.0%