Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Wire.h>
- #include <hd44780.h>
- #include <hd44780ioClass/hd44780_I2Cexp.h>
- const int LCD_ROWS = 2;
- const int LCD_COLS = 16;
- hd44780_I2Cexp lcd(0x20, I2Cexp_MCP23008,7,6,5,4,3,2,1,HIGH);
- void setup() {
- lcd.begin(LCD_COLS, LCD_ROWS);
- lcd.setCursor(0, 0);
- lcd.print("TME TESTER");
- lcd.setCursor(0, 1);
- lcd.print("DRUGA LINIA");
- }
- void loop() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement