Skip to content

Commit

Permalink
[examples] Add ILI9341 display example
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfreak authored and MatthewMArnold committed Sep 24, 2020
1 parent 9a4a4d9 commit 7c96d9f
Show file tree
Hide file tree
Showing 17 changed files with 817 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/stm32_f4ve/gui/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
images/*.hpp
images/*.cpp
16 changes: 16 additions & 0 deletions examples/stm32_f4ve/gui/images/bake.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
30 30
0000000000000000000000000000000011111111111111111111111111100011111111
1111111111111111111000111111111111111111111111111000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000
0000000001110000000111000000000000000001111111111111000000000000000001
1111111111110000000000000000001111111111100000000000000000000011111110
0000000000000000000000011111000000000000000000000000011111000000000000
0000000000000011100000000000000000000000000011100000000000000011111111
1111111111111111111000111111111111111111111111111000111111111111111111
1111111110001110000000000000000000001110001110000000000000000000001110
0011100000000000000000000011100011100000000000000000000011100011100000
0000000000000000111000111000000000000000000000111000111000000000000000
0000001110001111111111111111111111111110001111111111111111111111111110
001111111111111111111111111110000000000000000000000000000000
9 changes: 9 additions & 0 deletions examples/stm32_f4ve/gui/images/battery_empty.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
25 16
0000000000000000000000000000000000000000000000000000001111111111111111
1110000010000000000000000000100001000000000000000001010001100000000000
0000001010010100000000000000001101001010000000000000000110100101000000
0000000000110100101000000000000000111010001100000000000000011101000010
0000000000000011101000010000000000000000000100000111111111111111111100
00000000000000000000000000000000000000000000000000
9 changes: 9 additions & 0 deletions examples/stm32_f4ve/gui/images/battery_full.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
25 16
0000000000000000000000000000000000000000000000000000001111111111111111
1110000010000000000000000000100001011111011111011111010001101111101111
1011111010010101111101111101111101001010111110111110111110100101011111
0111110111110100101011111011111011111010001101111101111101111101000010
1111101111101111101000010000000000000000000100000111111111111111111100
00000000000000000000000000000000000000000000000000
9 changes: 9 additions & 0 deletions examples/stm32_f4ve/gui/images/battery_good.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
25 16
0000000000000000000000000000000000000000000000000000001111111111111111
1110000010000000000000000000100001000001011111011111010001100000101111
1011111010010100001101111101111101001010000110111110111110100101000111
0111110111110100101000111011111011111010001100111101111101111101000010
0111101111101111101000010000000000000000000100000111111111111111111100
00000000000000000000000000000000000000000000000000
9 changes: 9 additions & 0 deletions examples/stm32_f4ve/gui/images/battery_low.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
25 16
0000000000000000000000000000000000000000000000000000001111111111111111
1110000010000000000000000000100001000000000000011111010001100000000000
0011111010010100000000000001111101001010000000000000111110100101000000
0000000111110100101000000000000011111010001100000000000001111101000010
0000000000001111101000010000000000000000000100000111111111111111111100
00000000000000000000000000000000000000000000000000
9 changes: 9 additions & 0 deletions examples/stm32_f4ve/gui/images/battery_not_connected.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
25 16
0000000000000000000000000000000000000000000000000000001111111111111111
1110000010000000000000000000100001000000001110000000010001100000001000
1000000010010100000000000100000001001010000000000100000000100101000000
0001000000000100101000000000100000000010001100000000000000000001000010
0000000010000000001000010000000000000000000100000111111111111111111100
00000000000000000000000000000000000000000000000000
6 changes: 6 additions & 0 deletions examples/stm32_f4ve/gui/images/bluetooth_12x16.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
12 16
0000000000000001111110000011111111000111100111100111101011100110101101
1001110010111001111001111001111001111001110010111001101011011001111010
1110011110011110001111111100000111111000000000000000
14 changes: 14 additions & 0 deletions examples/stm32_f4ve/gui/images/bluetooth_24x32.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
24 32
0000000000000000000000000000000001111110000000000000001111111111110000
0000000111111111111110000000001111111001111111000000011111111000111111
1000001111111110000111111100001111111110000011111100001111111110010001
1111000111111111100110001111100111100011100111000111100111110001100110
0011111001111110001001000111111001111111000000001111111001111111100000
0111111110011111111100001111111110011111111100001111111110011111111000
0001111111100111111100000000111111100111111000100100011111100111110001
1001100011111001111000111001110001111001111111111001100011111001111111
1110010001111110001111111110000011111100001111111110000111111100000111
1111100011111110000000111111100111111100000000011111111111111000000000
00111111111111000000000000000111111000000000000000000000000000000000
7 changes: 7 additions & 0 deletions examples/stm32_f4ve/gui/images/charge.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
16 16
0000000000000000000100000000000000010000000000000001000000000000000100
0100000000000100110000000000010111000000000001111111111100000111111111
1100000101110000000000010011000000000001000100000000000100000000000000
0100000000000000010000000000000000000000000000
7 changes: 7 additions & 0 deletions examples/stm32_f4ve/gui/images/discharge.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
16 16
0000000000000000000100000000000000010000000000000001000000000000000100
0000100000000100000011000000010000001110000001111111111100000111111111
1100000100000011100000010000001100000001000000100000000100000000000000
0100000000000000010000000000000000000000000000
7 changes: 7 additions & 0 deletions examples/stm32_f4ve/gui/images/plug.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
16 16
0000000000000000000011100000000000001111111000000000111111110000011111
1111111000011111111111100000001111111110000000111111111111000011111111
1111000011111111100001111111111110000111111111111000000011111111000000
0011111110000000001110000000000000000000000000
62 changes: 62 additions & 0 deletions examples/stm32_f4ve/gui/images/warning.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
64 64
0000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000
0000000000011111100000000000000000000000000000000000000000000000000000
0001111111111000000000000000000000000000000000000000000000000000001111
1111111100000000000000000000000000000000000000000000000000011110000001
1110000000000000000000000000000000000000000000000000011100000000111000
0000000000000000000000000000000000000000000000111000000000011100000000
0000000000000000000000000000000000000000111000000000011100000000000000
0000000000000000000000000000000001110000000000001110000000000000000000
0000000000000000000000000001110000000000001110000000000000000000000000
0000000000000000000011100000000000000111000000000000000000000000000000
0000000000000011100000000000000111000000000000000000000000000000000000
0000000111000000000000000011100000000000000000000000000000000000000000
0111000000000000000011100000000000000000000000000000000000000000111000
0000111100000001110000000000000000000000000000000000000000111000000111
1110000001110000000000000000000000000000000000000001110000001100111100
0000111000000000000000000000000000000000000001110000011011111110000011
1000000000000000000000000000000000000011100000011011111110000001110000
0000000000000000000000000000000011100000011011111110000001110000000000
0000000000000000000000000111000000011011111110000000111000000000000000
0000000000000000000111000000011011111110000000111000000000000000000000
0000000000001110000000011011111110000000011100000000000000000000000000
0000001110000000011011111110000000011100000000000000000000000000000001
1100000000011011111110000000001110000000000000000000000000000001110000
0000011011111110000000001110000000000000000000000000000011100000000001
1011111110000000000111000000000000000000000000000011100000000001101111
1110000000000111000000000000000000000000000111000000000001101111111000
0000000011100000000000000000000000000111000000000001101111111000000000
0011100000000000000000000000001110000000000001101111111000000000000111
0000000000000000000000001110000000000001101111111000000000000111000000
0000000000000000011100000000000001101111111000000000000011100000000000
0000000000011100000000000001101111111000000000000011100000000000000000
0000111000000000000001111111111000000000000001110000000000000000000011
1000000000000000111111110000000000000001110000000000000000000111000000
0000000000011111100000000000000000111000000000000000000111000000000000
0000001111000000000000000000111000000000000000001110000000000000000000
0000000000000000000000011100000000000000001110000000000000000000000000
0000000000000000011100000000000000011100000000000000000000000000000000
0000000000001110000000000000011100000000000000000000000000000000000000
0000001110000000000000111000000000000000000000111100000000000000000000
0111000000000000111000000000000000000011111111000000000000000000011100
0000000001110000000000000000000111000111100000000000000000001110000000
0001110000000000000000000110111111100000000000000000001110000000001110
0000000000000000001101111111110000000000000000000111000000001110000000
0000000000001101111111110000000000000000000111000000011110000000000000
0000001101111111110000000000000000000111100000011100000000000000000000
1111111111110000000000000000000011100000011100000000000000000000011111
1111100000000000000000000011100000011100000000000000000000011111111110
0000000000000000000011100000011100000000000000000000001111111100000000
0000000000000011100000011110000000000000000000000011110000000000000000
0000000111100000001110000000000000000000000000000000000000000000000000
0111000000001111000000000000000000000000000000000000000000000000111100
0000000111110000000000000000000000000000000000000000000011111000000000
0011111111111111111111111111111111111111111111111111110000000000000111
1111111111111111111111111111111111111111111111100000000000000001111111
1111111111111111111111111111111111111110000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000
18 changes: 18 additions & 0 deletions examples/stm32_f4ve/gui/images/warning_32x32.pbm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
P1
# CREATOR: GIMP PNM Filter Version 1.1
32 32
0000000000000000000000000000000000000000000000111100000000000000000000
0000000111111000000000000000000000000011100111000000000000000000000000
1100001100000000000000000000000110000001100000000000000000000001100000
0110000000000000000000001100000000110000000000000000000011000110001100
0000000000000000011000101100011000000000000000000110001111000110000000
0000000000110000111100001100000000000000001100001111000011000000000000
0001100000111100000110000000000000011000001111000001100000000000001100
0000111100000011000000000000110000001111000000110000000000011000000011
1100000001100000000001100000001111000000011000000000110000000001100000
0000110000000011000000000000000000001100000001100000000000000000000001
1000000110000000000110000000000110000011000000000010110000000000110000
1100000000010111100000000011000110000000000111111000000000011001100000
0000001111000000000001100110000000000001100000000000011001110000000000
0000000000000011100011111111111111111111111111110000011111111111111111
11111111100000000000000000000000000000000000
Loading

0 comments on commit 7c96d9f

Please sign in to comment.