SGMP Coperations / Mbed 2 deprecated newdot

Dependencies:   mbed

Revision:
2:d714fd7bb7d5
Parent:
1:be91a16b48ea
--- a/main.cpp	Mon Dec 11 09:40:35 2017 +0000
+++ b/main.cpp	Mon Dec 11 12:35:12 2017 +0000
@@ -8,11 +8,11 @@
 Serial pc(D1, D0);
 DigitalIn sw(USER_BUTTON);
 
-uint8_t blue[3] = {0,10,0};
+uint8_t blue[3] = {0,5,0};
 uint8_t green[3] = {0,255,0};
 uint8_t red[3] = {0,0,255};
-uint8_t M[3] = {255,255,255};
-uint8_t I[3] = {255,0,0};
+uint8_t M[3] = {0,50,100};
+uint8_t I[3] = {100,0,0};
 uint8_t map_led[8] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
 uint8_t boss_led[8] = {0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
 uint8_t hero_led[8] = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
@@ -748,6 +748,7 @@
         dotmatrix.display_pic(I_led,I);
         
         if (sw==0){
+            
             hero_led[position_y] = 0x00;
             random();
             map();