ELEC2645 (2019/20)
/
ELEC2645_Project_el18jb
test 1 doc
Diff: Sprites/Sprites.h
- Revision:
- 4:cf5088ace087
- Parent:
- 3:e4e1cbf750b6
- Child:
- 5:928c2eee4109
diff -r e4e1cbf750b6 -r cf5088ace087 Sprites/Sprites.h --- a/Sprites/Sprites.h Mon May 18 16:06:27 2020 +0000 +++ b/Sprites/Sprites.h Mon May 18 18:46:13 2020 +0000 @@ -21,3 +21,12 @@ 0,0,0,1,1,0,1,1,0, 0,0,0,1,1,0,1,1,0 }; + +//maps +void draw_map1(N5110 &lcd){ + lcd.drawRect(0,11,25,3,FILL_TRANSPARENT); + lcd.drawRect(WIDTH - 25,11,25,3,FILL_TRANSPARENT); + lcd.drawRect(30,24,25,3,FILL_TRANSPARENT); + lcd.drawRect(0,37,25,3,FILL_TRANSPARENT); + lcd.drawRect(WIDTH - 25,37,25,3,FILL_TRANSPARENT); + };