test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: main.cpp
- Revision:
- 7:defdc7cb4e0b
- Parent:
- 6:e63641e13374
- Child:
- 8:2fd3eedcde64
- Child:
- 10:7b2cf5e89e65
--- a/main.cpp Fri Dec 02 13:33:02 2016 +0000 +++ b/main.cpp Mon Dec 05 07:34:15 2016 +0000 @@ -40,9 +40,9 @@ while(true){ update_mtx.lock(); p = h.update(); + if(p.y == 0){ + } update_mtx.unlock(); - - //printf("x:%d y:%d\n", p.x,p.y); lcd.cls(); lcd.print_bm(bitmPlayer,p.x,p.y); lcd.copy_to_lcd();