initial commit

This commit is contained in:
Lauchmelder23§ 2020-11-19 22:12:36 +00:00
commit 6419eb16d6
4 changed files with 203 additions and 0 deletions

14
example/example.c Normal file
View file

@ -0,0 +1,14 @@
#include "../raspberrylcd.h"
int main(void)
{
LCDScreen screen;
configurePins(&screen, 7, 9, 8, 0, 0, 0, 0, 21, 22, 23, 24);
initScreen(&screen, HALF_BYTE_INTERFACE, TWO_LINES, FONT_5x7, CURSOR_ON | CURSOR_BLINK, LEFT_TO_RIGHT);
sendData(&screen, JAPANESE_QUOTE_START);
sendData(&screen, JAPANESE_QUOTE_END);
resetPins(&screen);
return 0;
}