test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: main.cpp
- Revision:
- 17:dfb8d3c5911a
- Parent:
- 11:cf3cf60589f4
- Child:
- 18:0f6f2aa2339d
--- a/main.cpp Mon Dec 05 08:15:53 2016 +0000 +++ b/main.cpp Tue Dec 06 04:13:04 2016 +0000 @@ -37,9 +37,8 @@ Thread receive_th(receive); while(true){ update_mtx.lock(); - p = h.update(); - if(p.y == 0){ - } + p = h.update(2); + printf("x: %d, y: %d", p.x,p.y); update_mtx.unlock(); lcd.cls(); lcd.print_bm(bitmPlayer,p.x,p.y);