test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Revision:
59:6a99ec97eebd
Parent:
58:3f1b71a9318c
Child:
60:d04bc5987d53
diff -r 3f1b71a9318c -r 6a99ec97eebd main.cpp
--- a/main.cpp	Wed Dec 14 06:13:33 2016 +0000
+++ b/main.cpp	Wed Dec 14 10:53:38 2016 +0000
@@ -63,15 +63,15 @@
 
 void bullet_receive(void const *argument){
     //bullet option
-    int fast = 4;
-    int normal = 3;
-    int slow = 2;
-    int high = 17;
-    int middle = 12;
-    int low = 7;
+    int fast = HIGH_SPEED;
+    int normal = NOMAL_SOEED;
+    int slow = LOW_SPEED;
+    int high = HIGH;
+    int middle = MIDDLE;
+    int low = LOW;
 
     point start;
-    start.x = 127;
+    start.x = LCD_X - 1;
     char c;
     while(true){
         t.start();