Craig Evans / N5110

Dependents:   LV7_LCDtest LV7_Grupa5_Tim003_Zadatak1 lv7_Grupa5_Tim008_zad1 LV7_PAI_Grupa5_tim10_Zadatak1 ... more

Files at this revision

API Documentation at this revision

Comitter:
eencae
Date:
Sun Jan 26 20:09:15 2014 +0000
Parent:
2:e93021cfb0a9
Child:
4:e923c54c1c7d
Commit message:
Added documentation.

Changed in this revision

N5110.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/N5110.cpp	Sun Jan 26 20:06:58 2014 +0000
+++ b/N5110.cpp	Sun Jan 26 20:09:15 2014 +0000
@@ -136,8 +136,12 @@
         x=83;
     if (y > 5)
         y=5;
+    if (x < 0)
+        x=0;
+    if (y < 0)
+        y=0;
 
-    sendCommand(0x80 | x);
+    sendCommand(0x80 | x);  // send addresses to display with relevant mask
     sendCommand(0x40 | y);
 }