Rihards Balass / 4DGL-mbed-32PTU
Revision:
7:f064ae670553
Parent:
6:a1a85f2bc04b
Child:
8:b634ac9c92f8
--- a/Picaso_4DGL-32PTU_graphics.cpp	Mon Sep 12 11:25:37 2016 +0000
+++ b/Picaso_4DGL-32PTU_graphics.cpp	Mon Sep 12 11:33:12 2016 +0000
@@ -424,8 +424,8 @@
     
     char command[6] = "";
     
-    command[0] = (PUT_PIXEL >> (8*1)) & 0xff;
-    command[1] = (PUT_PIXEL >> (8*0)) & 0xff;
+    command[0] = (MOVE_ORIGIN >> (8*1)) & 0xff;
+    command[1] = (MOVE_ORIGIN >> (8*0)) & 0xff;
     command[2] = (x >> (8*1)) & 0xff;
     command[3] = (x >> (8*0)) & 0xff;
     command[4] = (y >> (8*1)) & 0xff;