MMP Cvičenie 3
Zo stránky SensorWiki
- Nuts & Volts: Demystifying Character Based LCDs
- Hitachi 44780 Driver
- 2x16 Parallel LCD datasheet
- Stamp Works - pp. 73 and more [1]
Zdrojáky
#include "lcd.h"
int main(void)
{
unsigned char znak;
lcdInit4();
lcdControlWrite(1<<LCD_CLR);
for(znak='A';znak<'E';znak++)
lcdDataWrite(znak);
lcdControlWrite(0x40+0x80);
for(znak='F';znak<'Q';znak++)
lcdDataWrite(znak);
while (1);
return 0;
}
Arduino: