#include <OzIDManager.h> #include <OzLcdDisplayController.h> // global pointers OzIDManager* manager; OzLcdController* lcdController; const int backlight_pin = 3; const int RS = 6; const int RW = 7; const int EN = 8; const int D4 = 9; const int D5 = 10; const int D6 = 11; const int D7 = 12; void setup() { Serial.begin(115200); manager = new OzIDManager; manager->_sendACK = true; manager->_checksum = true; OzCommunication::setIDManager(manager); lcdController = new OzLcdController(RS, RW, EN, D4, D5, D6, D7); lcdController->SetBacklight(backlight_pin, 100); //100% backlight int x=1; manager->sendLinkSetup(); manager->PrintWelcomeLine(lcdController, x++, "MyLCD"); lcdController->LoginDisplaySize(16, 2); } void loop() { OzCommunication::communicate(); }
More information
- How to setup a lcd display on arduino mega
- How to setup a lcd display on arduino nano
- How to setup a lcd display on arduino uno
- How to setup a lcd display on Ozeki matrix
- How to setup a lcd display on Raspberry Pi
- LCD display protocol for arduino
- How to control a lcd display using chat messages
- LCD Arduino Desc
- LCD 4 pin Arduino
- LCD Matrix Desc
- LCD 8 pin Arduino