Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
MenuClasses/Tutorial/Tutorial.cpp@69:55e309da7efd, 2019-05-04 (annotated)
- Committer:
- AhmedPlaymaker
- Date:
- Sat May 04 17:18:44 2019 +0000
- Revision:
- 69:55e309da7efd
- Parent:
- 62:ebf6ecf8a6d5
- Child:
- 78:10e5cc013806
fixed a bug where i couldn't see any thing in tutorial class only sometimes by adding an extra lcd.clear();
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AhmedPlaymaker | 60:d3a9e0e4a0de | 1 | #include "Tutorial.h" |
AhmedPlaymaker | 60:d3a9e0e4a0de | 2 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 3 | Tutorial::Tutorial() |
AhmedPlaymaker | 60:d3a9e0e4a0de | 4 | { |
AhmedPlaymaker | 62:ebf6ecf8a6d5 | 5 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 6 | } |
AhmedPlaymaker | 60:d3a9e0e4a0de | 7 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 8 | Tutorial::~Tutorial() |
AhmedPlaymaker | 60:d3a9e0e4a0de | 9 | { |
AhmedPlaymaker | 62:ebf6ecf8a6d5 | 10 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 11 | } |
AhmedPlaymaker | 60:d3a9e0e4a0de | 12 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 13 | int g_pad[27][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 14 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 15 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 16 | {0,0,0,0,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42 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 43 | int Pot[27][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 44 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 45 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 46 | {0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 47 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 48 | {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,0,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 49 | {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 50 | {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 51 | {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,1,0,0,1,0,0,0,0}, |
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,0,0,0,1,0,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 69 | {0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 70 | {0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 71 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 72 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 73 | int LeftRight[27][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 74 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 75 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 76 | {0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 77 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 78 | {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 79 | {0,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ymaker | 60:d3a9e0e4a0de | 96 | {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 97 | {0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 98 | {0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 99 | {0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 100 | {0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 101 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 102 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 103 | int UpDown[27][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 104 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 105 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 106 | {0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,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0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 115 | {0,0,1,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 116 | {0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 117 | {0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 118 | {0,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 119 | {0,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 120 | {0,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,1,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 121 | {1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 122 | {1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,1,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 123 | {1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 124 | {1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 125 | {1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 126 | {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 127 | {0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 128 | {0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 129 | {0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 130 | {0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 131 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 132 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 133 | int GameControls[31][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 134 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 135 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 136 | {0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 137 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 138 | {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 139 | {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 140 | {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 141 | {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 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hmedPlaymaker | 60:d3a9e0e4a0de | 159 | {0,0,1,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 160 | {0,0,0,1,1,1,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 161 | {0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 162 | {0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 163 | {0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 164 | {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 165 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 166 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 167 | int NextBack[27][44] = { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 168 | {0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 169 | {0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,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0,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 178 | {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 179 | {0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 180 | {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 181 | {0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 182 | {0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 183 | {0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 184 | {0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,1,0,1,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 185 | {1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,1}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 186 | {1,0,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0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0}, |
AhmedPlaymaker | 60:d3a9e0e4a0de | 195 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 196 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 197 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 198 | void Tutorial::Implement(N5110 &lcd, Gamepad &pad) |
AhmedPlaymaker | 60:d3a9e0e4a0de | 199 | { |
AhmedPlaymaker | 69:55e309da7efd | 200 | lcd.clear(); |
AhmedPlaymaker | 61:f3c402bc2ad0 | 201 | //pad.init(); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 202 | Tutorial::gamePad(lcd, pad); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 203 | pad.tone(1000.0,0.1); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 204 | while (pad.check_event(Gamepad::BACK_PRESSED) == false) { } //if button pressed. |
AhmedPlaymaker | 60:d3a9e0e4a0de | 205 | } |
AhmedPlaymaker | 60:d3a9e0e4a0de | 206 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 207 | void Tutorial::gamePad(N5110 &lcd, Gamepad &pad) |
AhmedPlaymaker | 62:ebf6ecf8a6d5 | 208 | { |
AhmedPlaymaker | 62:ebf6ecf8a6d5 | 209 | while ((pad.check_event(Gamepad::START_PRESSED) == false)&&(pad.check_event(Gamepad::A_PRESSED) == false)) { //if button pressed. |
AhmedPlaymaker | 60:d3a9e0e4a0de | 210 | lcd.drawSprite(20,0,27,44,(int *)g_pad); //Function used to draw the sprite. |
AhmedPlaymaker | 60:d3a9e0e4a0de | 211 | lcd.printString("This is your",7,4); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 212 | lcd.printString("GamePad",22,5); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 213 | lcd.refresh(); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 214 | } |
AhmedPlaymaker | 60:d3a9e0e4a0de | 215 | } |