Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: N5110 SWSPI mbed
Fork of LV7_LCDtest by
Revision 1:a174ab8a7339, committed 2016-05-20
- Comitter:
 - esokic
 - Date:
 - Fri May 20 23:25:54 2016 +0000
 - Parent:
 - 0:01c7393abf13
 - Commit message:
 - Program za komunikaciju FRDM i Nokia displeja
 
Changed in this revision
--- a/N5110.lib Tue Apr 08 12:17:12 2014 +0000 +++ b/N5110.lib Fri May 20 23:25:54 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/eencae/code/N5110/#adb79338d40f +https://developer.mbed.org/users/esokic/code/N5110/#9efee30ed6d3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SWSPI.lib Fri May 20 23:25:54 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/esokic/code/SWSPI/#3a9981048283
--- 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
    