Primjer ispisa znakova na 1602 zaslonu pogonjenom HD44780 integriranim krugom.

Dependencies:   mbed TextLCD

Primjer programskog koda koji uz pomoć TextLCD biblioteke omogućuje ispis znakova na 1602 LCD zaslonu pogonjenim HD44780 integriranim krugom.

https://os.mbed.com/media/uploads/jkordek/lcd1602.png

Spajanje LCD modula s LPC1768 mikroupravljačem:

https://os.mbed.com/media/uploads/jkordek/spajanje_s_mbedom.png

main.cpp

Committer:
simon
Date:
2010-05-29
Revision:
0:334327d1a416
Child:
1:7418a52375a0

File content as of revision 0:334327d1a416:

#include "mbed.h"
#include "TextLCD.h"

TextLCD lcd(p10, p12, p15, p16, p29, p30); // rs, e, d0-d3

int main() {
    lcd.printf("Hello World!\n");
}