test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: Converter.cpp
- Revision:
- 37:f5d98f22b6bd
- Parent:
- 27:afdaee781efa
- Child:
- 38:63b99151e218
--- a/Converter.cpp Mon Dec 12 11:50:33 2016 +0000 +++ b/Converter.cpp Tue Dec 13 02:02:50 2016 +0000 @@ -4,7 +4,7 @@ #include "C12832_lcd.h" #define CHAR_SIZE 8 -Bitmap Converter::convert(int map[][LCD_X]){ +char* Converter::convert(int map[][LCD_X]){ int len = LCD_Y*LCD_X/CHAR_SIZE; char char_map[len]; for(int i = 0; i < len; i++ ){ @@ -21,5 +21,6 @@ LCD_X/CHAR_SIZE, char_map, }; - return bitmap_converted; + //return bitmap_converted; + return char_map; }