RaspberryLCD/example/example.c
2020-11-20 01:03:03 +00:00

13 lines
343 B
C

#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);
sendText(&screen, "カガ キギクグケゲコゴ");
resetPins(&screen);
return 0;
}