Supergeniene på bakerste rad
/
LAB05_Oppgave4
Hey
Fork of KS0066U4_16x2 by
main.cpp
- Committer:
- Voldread
- Date:
- 2015-09-24
- Revision:
- 4:6d8373f8a21b
- Parent:
- 3:81d65a2a1920
File content as of revision 4:6d8373f8a21b:
#include "mbed.h" #include "TextLCD.h" TextLCD lcd(D11,D10,D9,D5,D4,D3,D2); int main() { char meldingTilLcdPanel[80]; while(1) { printf("Skriv inn teksten du vil skive inn\n"); scanf("%[^\r\n]s",&meldingTilLcdPanel); getchar(); lcd.lcdComand(0x01); wait_ms(2); lcd.gotoxy(1,1); lcd.printf(meldingTilLcdPanel); } }