Zlatan Čilić Lejla Agić

Dependencies:   N5110 mbed

Files at this revision

API Documentation at this revision

Comitter:
tim004
Date:
Mon May 12 07:58:37 2014 +0000
Commit message:
LV8-Zadatak3-Grupa1-Tim004-PAI

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 5ed178fe1db0 N5110.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/N5110.lib	Mon May 12 07:58:37 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/eencae/code/N5110/#adb79338d40f
diff -r 000000000000 -r 5ed178fe1db0 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon May 12 07:58:37 2014 +0000
@@ -0,0 +1,31 @@
+#include "mbed.h"
+#include <string>
+#include "N5110.h"
+
+
+
+Serial pc(USBTX, USBRX);
+string buffer;
+N5110 lcd(dp4,dp24,dp23,dp25,dp2,dp6,dp18);
+int trenX(0);
+int trenY(0);
+
+
+
+void citajPisi()
+{
+    char charovi[1] = {0}; 
+    charovi [0] = pc.getc();
+    lcd.printString(charovi, trenX, trenY);
+    trenX += 5;
+    //trenY++;
+}
+
+int main()
+{
+    lcd.init();
+    while(1)
+    {
+        citajPisi();
+    }
+}
diff -r 000000000000 -r 5ed178fe1db0 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon May 12 07:58:37 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/8a40adfe8776
\ No newline at end of file