James Heavey
/
EL17JH
FINAL VERSION
Diff: main.cpp
- Revision:
- 97:6c76526b5298
- Parent:
- 96:c30e110c0a93
- Child:
- 98:2ce2c666266b
--- a/main.cpp Tue May 07 00:37:25 2019 +0000 +++ b/main.cpp Tue May 07 10:46:17 2019 +0000 @@ -39,6 +39,9 @@ Bitmap breakblack(breakblack_data, 48, 84); Bitmap arrowup(arrowup_data, 5, 7); // assign the arrow up sprite data Bitmap arrowdown(arrowdown_data, 5, 7); // assign the arrow down sprite data +Bitmap three(three_data, 48, 84); // assign the 3 sprite data +Bitmap two(two_data, 48, 84); // assign the 2 sprite data +Bitmap one(one_data, 48, 84); // assign the 1 sprite data bool tilt = false; float sens = 0.5; // default sens @@ -406,10 +409,6 @@ void countdown() { - Bitmap three(three_data, 48, 84); // assign the 3 sprite data - Bitmap two(two_data, 48, 84); // assign the 2 sprite data - Bitmap one(one_data, 48, 84); // assign the 1 sprite data - lcd.clear(); three.render(lcd, 0, 0); // render the 3 lcd.refresh();