Testni program za Nokia Displej za US 2016

Dependencies:   N5110 mbed

Files at this revision

API Documentation at this revision

Comitter:
esokic
Date:
Wed Mar 09 08:30:01 2016 +0000
Commit message:
Testni program za LV3 iz US 2016

Changed in this revision

N5110.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 6ebfd28a8b0c N5110.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/N5110.lib	Wed Mar 09 08:30:01 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/eencae/code/N5110/#ba8addc061ea
diff -r 000000000000 -r 6ebfd28a8b0c main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Mar 09 08:30:01 2016 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+#include "N5110.h"
+#define dp23 P0_0
+
+//N5110 lcd(VCC,SCE,RST,DC,MOSI,SCLK,LED));
+N5110 lcd(dp4,dp24,dp23,dp25,dp2,dp6,dp18);
+
+DigitalOut enable(dp14);
+
+int main() {
+    
+    //deaktivacija led dioda
+    enable=1;
+    
+    //inicijalizacija displeja
+    lcd.init();
+    
+    //prikaz stringa
+    lcd.printString("Mi volimo US!",0,0);
+    
+    while(1);
+}
diff -r 000000000000 -r 6ebfd28a8b0c mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Mar 09 08:30:01 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb
\ No newline at end of file