![](/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:
- 2:4227ed52b378
- Parent:
- 1:a174ab8a7339
diff -r a174ab8a7339 -r 4227ed52b378 main.cpp --- a/main.cpp Fri May 20 23:25:54 2016 +0000 +++ b/main.cpp Wed May 25 07:59:36 2016 +0000 @@ -1,9 +1,11 @@ #include "mbed.h" #include "N5110.h" +#include "SWSPI.h" //Deklaracija LCD objekta //N5110 lcd(VCC,SCE,RST,D/C,MOSI,SCLK,LED) +//(bilo koji pin se moze koristiti osim PTC0 i LED pin mora biti PTE20) N5110 lcd(PTB8,PTA13,PTA12,PTD5,PTD2,PTC5,PTE20); int main() @@ -20,6 +22,7 @@ lcd.printString("Mi ipak vise",0,0); lcd.printString("volimo US!",0,1); while(1) { + //lcd.drawCircle(10,10,5,1); } } \ No newline at end of file