![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Opis nova verzija
Dependencies: N5110SPI SWSPI mbed
Fork of Nokia_FRDM by
Diff: main.cpp
- Revision:
- 1:a174ab8a7339
- Parent:
- 0:01c7393abf13
- Child:
- 2:4227ed52b378
--- a/main.cpp Tue Apr 08 12:17:12 2014 +0000 +++ b/main.cpp Fri May 20 23:25:54 2016 +0000 @@ -1,22 +1,25 @@ #include "mbed.h" #include "N5110.h" + //Deklaracija LCD objekta //N5110 lcd(VCC,SCE,RST,D/C,MOSI,SCLK,LED) -N5110 lcd(dp4,dp24,dp23,dp25,dp2,dp6,dp18); - -//Digitalni izlaz za deaktivaciju LED buffera -DigitalOut enable(dp14); +N5110 lcd(PTB8,PTA13,PTA12,PTD5,PTD2,PTC5,PTE20); int main() { - enable=1; - // inicijalizacija displeja lcd.init(); // prikaz stringa lcd.printString("Mi volimo PAI!",0,0); - while(1); + wait(2); + + lcd.clear(); + lcd.printString("Mi ipak vise",0,0); + lcd.printString("volimo US!",0,1); + while(1) { + + } } \ No newline at end of file