paranoia-1.0/sketch/LCD.h
2025-03-05 01:39:01 +01:00

18 lines
309 B
C++

#pragma once
#include <Wire.h>
#include <hd44780.h>
#include <hd44780ioClass/hd44780_I2Cexp.h>
class LCD {
private:
hd44780_I2Cexp *lcd;
public:
LCD(hd44780_I2Cexp *lcd);
void drawChar(int x, int y, char c);
void drawRectangle(int x, int y);
void drawBlink(int x, int y);
void clear();
};