Shahariar Hossain
/
FRDM-K82F_8x8LED_Matrix_nochip
Quick demo for LED 8x8 Matrix with FRDM-K82F
Char_Fonts.cpp@3:6cdeb3b19afb, 2018-06-03 (annotated)
- Committer:
- suntopbd
- Date:
- Sun Jun 03 01:47:20 2018 +0000
- Revision:
- 3:6cdeb3b19afb
- Parent:
- 2:4e21ea1275a1
Fonts improved;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
suntopbd | 2:4e21ea1275a1 | 1 | /* |
suntopbd | 2:4e21ea1275a1 | 2 | C1 C2 C3 C4 C5 C6 C7 C8 |
suntopbd | 2:4e21ea1275a1 | 3 | R1 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 4 | R2 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 5 | R3 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 6 | R4 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 7 | R5 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 8 | R6 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 9 | R7 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 10 | R8 x x x x x x x x |
suntopbd | 2:4e21ea1275a1 | 11 | |
suntopbd | 2:4e21ea1275a1 | 12 | */ |
suntopbd | 2:4e21ea1275a1 | 13 | #include "mbed.h" |
suntopbd | 2:4e21ea1275a1 | 14 | #include "Char_Fonts.h" |
suntopbd | 2:4e21ea1275a1 | 15 | |
suntopbd | 3:6cdeb3b19afb | 16 | //SET Row Pins HERE // |
suntopbd | 3:6cdeb3b19afb | 17 | DigitalOut R1(PTC9); |
suntopbd | 3:6cdeb3b19afb | 18 | DigitalOut R2(PTC8); |
suntopbd | 3:6cdeb3b19afb | 19 | DigitalOut R3(PTC10); |
suntopbd | 3:6cdeb3b19afb | 20 | DigitalOut R4(PTC11); |
suntopbd | 3:6cdeb3b19afb | 21 | DigitalOut R5(PTA14); |
suntopbd | 3:6cdeb3b19afb | 22 | DigitalOut R6(PTC7); |
suntopbd | 3:6cdeb3b19afb | 23 | DigitalOut R7(PTA16); |
suntopbd | 3:6cdeb3b19afb | 24 | DigitalOut R8(PTA15); |
suntopbd | 3:6cdeb3b19afb | 25 | |
suntopbd | 3:6cdeb3b19afb | 26 | //SET Col Pins HERE // |
suntopbd | 3:6cdeb3b19afb | 27 | DigitalOut C1(PTD0); |
suntopbd | 3:6cdeb3b19afb | 28 | DigitalOut C2(PTC12); |
suntopbd | 3:6cdeb3b19afb | 29 | DigitalOut C3(PTB17); |
suntopbd | 3:6cdeb3b19afb | 30 | DigitalOut C4(PTB16); |
suntopbd | 3:6cdeb3b19afb | 31 | DigitalOut C5(PTA5); |
suntopbd | 3:6cdeb3b19afb | 32 | DigitalOut C6(PTA13); |
suntopbd | 3:6cdeb3b19afb | 33 | DigitalOut C7(PTA12); |
suntopbd | 3:6cdeb3b19afb | 34 | DigitalOut C8(PTA17); |
suntopbd | 3:6cdeb3b19afb | 35 | |
suntopbd | 3:6cdeb3b19afb | 36 | |
suntopbd | 2:4e21ea1275a1 | 37 | Timer timer; |
suntopbd | 2:4e21ea1275a1 | 38 | float speed= 0.0; |
suntopbd | 2:4e21ea1275a1 | 39 | float gaptime = 0.0; |
suntopbd | 2:4e21ea1275a1 | 40 | int *dotpointer; |
suntopbd | 2:4e21ea1275a1 | 41 | |
suntopbd | 2:4e21ea1275a1 | 42 | void speed_down(float spd) |
suntopbd | 2:4e21ea1275a1 | 43 | { |
suntopbd | 2:4e21ea1275a1 | 44 | speed = spd; |
suntopbd | 2:4e21ea1275a1 | 45 | } |
suntopbd | 2:4e21ea1275a1 | 46 | void gap_up(float zzz) |
suntopbd | 2:4e21ea1275a1 | 47 | { |
suntopbd | 2:4e21ea1275a1 | 48 | gaptime = zzz; |
suntopbd | 2:4e21ea1275a1 | 49 | } |
suntopbd | 2:4e21ea1275a1 | 50 | |
suntopbd | 2:4e21ea1275a1 | 51 | |
suntopbd | 2:4e21ea1275a1 | 52 | |
suntopbd | 2:4e21ea1275a1 | 53 | // 0 will glow LED and 1 will keep off // |
suntopbd | 2:4e21ea1275a1 | 54 | // Use it to make Icon, Character, Symble // |
suntopbd | 2:4e21ea1275a1 | 55 | |
suntopbd | 3:6cdeb3b19afb | 56 | //////// CREATE YOUR 8x8 FONTS or ICONS HERE //////////// |
suntopbd | 2:4e21ea1275a1 | 57 | |
suntopbd | 2:4e21ea1275a1 | 58 | int sp[64] = { |
suntopbd | 2:4e21ea1275a1 | 59 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 60 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 61 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 62 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 63 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 64 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 65 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 66 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 67 | |
suntopbd | 2:4e21ea1275a1 | 68 | }; |
suntopbd | 2:4e21ea1275a1 | 69 | |
suntopbd | 2:4e21ea1275a1 | 70 | |
suntopbd | 2:4e21ea1275a1 | 71 | |
suntopbd | 2:4e21ea1275a1 | 72 | int Aa[64] = { |
suntopbd | 2:4e21ea1275a1 | 73 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 74 | 1,1,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 75 | 1,0,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 76 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 77 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 78 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 79 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 80 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 81 | |
suntopbd | 2:4e21ea1275a1 | 82 | }; |
suntopbd | 2:4e21ea1275a1 | 83 | |
suntopbd | 2:4e21ea1275a1 | 84 | int Bb[64] = { |
suntopbd | 2:4e21ea1275a1 | 85 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 86 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 87 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 88 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 89 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 90 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 91 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 92 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 93 | |
suntopbd | 2:4e21ea1275a1 | 94 | }; |
suntopbd | 2:4e21ea1275a1 | 95 | |
suntopbd | 2:4e21ea1275a1 | 96 | int Cc[64] = { |
suntopbd | 2:4e21ea1275a1 | 97 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 98 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 99 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 100 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 101 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 102 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 103 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 104 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 105 | |
suntopbd | 2:4e21ea1275a1 | 106 | }; |
suntopbd | 2:4e21ea1275a1 | 107 | |
suntopbd | 2:4e21ea1275a1 | 108 | |
suntopbd | 2:4e21ea1275a1 | 109 | int Dd[64] = { |
suntopbd | 2:4e21ea1275a1 | 110 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 111 | 0,0,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 112 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 113 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 114 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 115 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 116 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 117 | 0,0,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 118 | |
suntopbd | 2:4e21ea1275a1 | 119 | }; |
suntopbd | 2:4e21ea1275a1 | 120 | |
suntopbd | 2:4e21ea1275a1 | 121 | |
suntopbd | 2:4e21ea1275a1 | 122 | int Ee[64] = { |
suntopbd | 2:4e21ea1275a1 | 123 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 124 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 125 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 126 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 127 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 128 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 129 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 130 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 131 | |
suntopbd | 2:4e21ea1275a1 | 132 | }; |
suntopbd | 2:4e21ea1275a1 | 133 | |
suntopbd | 2:4e21ea1275a1 | 134 | |
suntopbd | 2:4e21ea1275a1 | 135 | int Ff[64] = { |
suntopbd | 2:4e21ea1275a1 | 136 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 137 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 138 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 139 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 140 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 141 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 142 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 143 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 144 | |
suntopbd | 2:4e21ea1275a1 | 145 | }; |
suntopbd | 2:4e21ea1275a1 | 146 | |
suntopbd | 2:4e21ea1275a1 | 147 | |
suntopbd | 2:4e21ea1275a1 | 148 | int Gg[64] = { |
suntopbd | 2:4e21ea1275a1 | 149 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 150 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 151 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 152 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 153 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 154 | 0,1,1,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 155 | 0,1,1,0,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 156 | 1,0,0,0,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 157 | |
suntopbd | 2:4e21ea1275a1 | 158 | }; |
suntopbd | 2:4e21ea1275a1 | 159 | |
suntopbd | 2:4e21ea1275a1 | 160 | |
suntopbd | 2:4e21ea1275a1 | 161 | int Hh[64] = { |
suntopbd | 2:4e21ea1275a1 | 162 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 163 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 164 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 165 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 166 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 167 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 168 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 169 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 170 | |
suntopbd | 2:4e21ea1275a1 | 171 | }; |
suntopbd | 2:4e21ea1275a1 | 172 | |
suntopbd | 2:4e21ea1275a1 | 173 | |
suntopbd | 2:4e21ea1275a1 | 174 | int Ii[64] = { |
suntopbd | 2:4e21ea1275a1 | 175 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 176 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 177 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 178 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 179 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 180 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 181 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 182 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 183 | |
suntopbd | 2:4e21ea1275a1 | 184 | }; |
suntopbd | 2:4e21ea1275a1 | 185 | |
suntopbd | 2:4e21ea1275a1 | 186 | |
suntopbd | 2:4e21ea1275a1 | 187 | int Jj[64] = { |
suntopbd | 2:4e21ea1275a1 | 188 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 189 | 1,0,0,0,0,0,0,1, |
suntopbd | 3:6cdeb3b19afb | 190 | 1,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 191 | 1,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 192 | 1,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 193 | 0,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 194 | 0,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 195 | 1,0,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 196 | |
suntopbd | 2:4e21ea1275a1 | 197 | }; |
suntopbd | 2:4e21ea1275a1 | 198 | |
suntopbd | 2:4e21ea1275a1 | 199 | |
suntopbd | 2:4e21ea1275a1 | 200 | int Kk[64] = { |
suntopbd | 3:6cdeb3b19afb | 201 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 202 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 203 | 0,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 204 | 0,1,0,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 205 | 0,0,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 206 | 0,1,0,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 207 | 0,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 208 | 0,1,1,1,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 209 | |
suntopbd | 2:4e21ea1275a1 | 210 | |
suntopbd | 2:4e21ea1275a1 | 211 | }; |
suntopbd | 2:4e21ea1275a1 | 212 | |
suntopbd | 2:4e21ea1275a1 | 213 | |
suntopbd | 2:4e21ea1275a1 | 214 | int Ll[64] = { |
suntopbd | 2:4e21ea1275a1 | 215 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 216 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 217 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 218 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 219 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 220 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 221 | 0,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 222 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 223 | |
suntopbd | 2:4e21ea1275a1 | 224 | }; |
suntopbd | 2:4e21ea1275a1 | 225 | |
suntopbd | 2:4e21ea1275a1 | 226 | int Mm[64] = { |
suntopbd | 2:4e21ea1275a1 | 227 | |
suntopbd | 2:4e21ea1275a1 | 228 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 229 | 0,0,1,1,1,0,0,1, |
suntopbd | 2:4e21ea1275a1 | 230 | 0,1,0,1,0,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 231 | 0,1,1,0,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 232 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 233 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 234 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 235 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 236 | |
suntopbd | 2:4e21ea1275a1 | 237 | }; |
suntopbd | 2:4e21ea1275a1 | 238 | |
suntopbd | 2:4e21ea1275a1 | 239 | |
suntopbd | 2:4e21ea1275a1 | 240 | int Nn[64] = { |
suntopbd | 2:4e21ea1275a1 | 241 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 242 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 243 | 0,0,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 244 | 0,1,0,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 245 | 0,1,1,0,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 246 | 0,1,1,1,0,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 247 | 0,1,1,1,1,0,0,1, |
suntopbd | 2:4e21ea1275a1 | 248 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 249 | |
suntopbd | 2:4e21ea1275a1 | 250 | }; |
suntopbd | 2:4e21ea1275a1 | 251 | |
suntopbd | 2:4e21ea1275a1 | 252 | int Oo[64] = { |
suntopbd | 2:4e21ea1275a1 | 253 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 254 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 255 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 256 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 257 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 258 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 259 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 260 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 261 | |
suntopbd | 2:4e21ea1275a1 | 262 | }; |
suntopbd | 2:4e21ea1275a1 | 263 | |
suntopbd | 2:4e21ea1275a1 | 264 | int Pp[64] = { |
suntopbd | 2:4e21ea1275a1 | 265 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 266 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 267 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 268 | 0,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 269 | 0,0,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 270 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 271 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 272 | 0,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 273 | |
suntopbd | 2:4e21ea1275a1 | 274 | }; |
suntopbd | 2:4e21ea1275a1 | 275 | |
suntopbd | 2:4e21ea1275a1 | 276 | |
suntopbd | 2:4e21ea1275a1 | 277 | int Qq[64] = { |
suntopbd | 2:4e21ea1275a1 | 278 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 279 | 1,1,0,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 280 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 281 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 282 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 283 | 0,1,1,1,0,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 284 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 285 | 1,1,0,0,0,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 286 | }; |
suntopbd | 2:4e21ea1275a1 | 287 | |
suntopbd | 2:4e21ea1275a1 | 288 | |
suntopbd | 2:4e21ea1275a1 | 289 | int Rr[64] = { |
suntopbd | 2:4e21ea1275a1 | 290 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 291 | 0,0,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 292 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 293 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 294 | 0,0,0,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 295 | 0,1,0,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 296 | 0,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 297 | 0,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 298 | |
suntopbd | 2:4e21ea1275a1 | 299 | }; |
suntopbd | 2:4e21ea1275a1 | 300 | |
suntopbd | 2:4e21ea1275a1 | 301 | |
suntopbd | 2:4e21ea1275a1 | 302 | int Ss[64] = { |
suntopbd | 2:4e21ea1275a1 | 303 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 304 | 1,1,0,0,0,0,1,1, |
suntopbd | 3:6cdeb3b19afb | 305 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 306 | 1,0,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 307 | 1,1,0,0,0,0,1,1, |
suntopbd | 3:6cdeb3b19afb | 308 | 1,1,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 309 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 310 | 1,1,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 311 | |
suntopbd | 2:4e21ea1275a1 | 312 | |
suntopbd | 2:4e21ea1275a1 | 313 | }; |
suntopbd | 2:4e21ea1275a1 | 314 | |
suntopbd | 2:4e21ea1275a1 | 315 | |
suntopbd | 2:4e21ea1275a1 | 316 | int Tt[64] = { |
suntopbd | 2:4e21ea1275a1 | 317 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 318 | 0,0,0,0,0,0,0,1, |
suntopbd | 2:4e21ea1275a1 | 319 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 320 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 321 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 322 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 323 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 324 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 325 | |
suntopbd | 2:4e21ea1275a1 | 326 | }; |
suntopbd | 2:4e21ea1275a1 | 327 | |
suntopbd | 2:4e21ea1275a1 | 328 | |
suntopbd | 2:4e21ea1275a1 | 329 | int Uu[64] = { |
suntopbd | 2:4e21ea1275a1 | 330 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 331 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 332 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 333 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 334 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 335 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 336 | 1,0,1,1,1,1,0,1, |
suntopbd | 3:6cdeb3b19afb | 337 | 1,1,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 338 | |
suntopbd | 2:4e21ea1275a1 | 339 | }; |
suntopbd | 2:4e21ea1275a1 | 340 | |
suntopbd | 2:4e21ea1275a1 | 341 | |
suntopbd | 2:4e21ea1275a1 | 342 | int Vv[64] = { |
suntopbd | 2:4e21ea1275a1 | 343 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 344 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 345 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 346 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 347 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 348 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 349 | 1,1,0,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 350 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 351 | |
suntopbd | 2:4e21ea1275a1 | 352 | |
suntopbd | 2:4e21ea1275a1 | 353 | }; |
suntopbd | 2:4e21ea1275a1 | 354 | |
suntopbd | 2:4e21ea1275a1 | 355 | |
suntopbd | 2:4e21ea1275a1 | 356 | int Ww[64] = { |
suntopbd | 2:4e21ea1275a1 | 357 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 358 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 359 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 360 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 361 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 362 | 0,1,1,0,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 363 | 0,1,0,1,0,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 364 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 365 | |
suntopbd | 2:4e21ea1275a1 | 366 | }; |
suntopbd | 2:4e21ea1275a1 | 367 | |
suntopbd | 2:4e21ea1275a1 | 368 | |
suntopbd | 2:4e21ea1275a1 | 369 | int Xx[64] = { |
suntopbd | 2:4e21ea1275a1 | 370 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 371 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 372 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 373 | 1,1,0,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 374 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 375 | 1,1,0,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 376 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 377 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 378 | }; |
suntopbd | 2:4e21ea1275a1 | 379 | |
suntopbd | 2:4e21ea1275a1 | 380 | |
suntopbd | 2:4e21ea1275a1 | 381 | int Yy[64] = { |
suntopbd | 2:4e21ea1275a1 | 382 | 1,1,1,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 383 | 0,1,1,1,1,1,0,1, |
suntopbd | 2:4e21ea1275a1 | 384 | 1,0,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 385 | 1,1,0,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 386 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 387 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 388 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 389 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 390 | |
suntopbd | 2:4e21ea1275a1 | 391 | }; |
suntopbd | 2:4e21ea1275a1 | 392 | |
suntopbd | 2:4e21ea1275a1 | 393 | int Zz[64] = { |
suntopbd | 2:4e21ea1275a1 | 394 | |
suntopbd | 2:4e21ea1275a1 | 395 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 396 | 0,0,0,0,0,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 397 | 1,1,1,1,1,0,1,1, |
suntopbd | 2:4e21ea1275a1 | 398 | 1,1,1,1,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 399 | 1,1,1,0,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 400 | 1,1,0,1,1,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 401 | 1,0,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 402 | 0,0,0,0,0,0,1,1, |
suntopbd | 3:6cdeb3b19afb | 403 | |
suntopbd | 3:6cdeb3b19afb | 404 | }; |
suntopbd | 3:6cdeb3b19afb | 405 | |
suntopbd | 3:6cdeb3b19afb | 406 | |
suntopbd | 3:6cdeb3b19afb | 407 | int amark[64] = { |
suntopbd | 3:6cdeb3b19afb | 408 | |
suntopbd | 3:6cdeb3b19afb | 409 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 410 | 1,1,1,0,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 411 | 1,1,1,0,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 412 | 1,1,1,0,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 413 | 1,1,1,0,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 414 | 1,1,1,0,0,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 415 | 1,1,1,1,1,1,1,1, |
suntopbd | 3:6cdeb3b19afb | 416 | 1,1,1,0,0,1,1,1, |
suntopbd | 2:4e21ea1275a1 | 417 | |
suntopbd | 2:4e21ea1275a1 | 418 | }; |
suntopbd | 2:4e21ea1275a1 | 419 | |
suntopbd | 2:4e21ea1275a1 | 420 | |
suntopbd | 2:4e21ea1275a1 | 421 | |
suntopbd | 2:4e21ea1275a1 | 422 | |
suntopbd | 2:4e21ea1275a1 | 423 | |
suntopbd | 3:6cdeb3b19afb | 424 | ///////////////// CHAR on MATRIX APIs for EACH Character or Symble ////////////////// |
suntopbd | 2:4e21ea1275a1 | 425 | |
suntopbd | 2:4e21ea1275a1 | 426 | void A() |
suntopbd | 2:4e21ea1275a1 | 427 | { |
suntopbd | 2:4e21ea1275a1 | 428 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 429 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 430 | { |
suntopbd | 2:4e21ea1275a1 | 431 | dotpointer = &Aa[0]; |
suntopbd | 2:4e21ea1275a1 | 432 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 433 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 434 | } |
suntopbd | 2:4e21ea1275a1 | 435 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 436 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 437 | } |
suntopbd | 2:4e21ea1275a1 | 438 | |
suntopbd | 2:4e21ea1275a1 | 439 | |
suntopbd | 2:4e21ea1275a1 | 440 | |
suntopbd | 2:4e21ea1275a1 | 441 | void B() |
suntopbd | 2:4e21ea1275a1 | 442 | { |
suntopbd | 2:4e21ea1275a1 | 443 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 444 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 445 | { |
suntopbd | 2:4e21ea1275a1 | 446 | dotpointer = &Bb[0]; |
suntopbd | 2:4e21ea1275a1 | 447 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 448 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 449 | } |
suntopbd | 2:4e21ea1275a1 | 450 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 451 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 452 | } |
suntopbd | 2:4e21ea1275a1 | 453 | |
suntopbd | 2:4e21ea1275a1 | 454 | |
suntopbd | 2:4e21ea1275a1 | 455 | |
suntopbd | 2:4e21ea1275a1 | 456 | void C() |
suntopbd | 2:4e21ea1275a1 | 457 | { |
suntopbd | 2:4e21ea1275a1 | 458 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 459 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 460 | { |
suntopbd | 2:4e21ea1275a1 | 461 | dotpointer = &Cc[0]; |
suntopbd | 2:4e21ea1275a1 | 462 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 463 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 464 | } |
suntopbd | 2:4e21ea1275a1 | 465 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 466 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 467 | } |
suntopbd | 2:4e21ea1275a1 | 468 | |
suntopbd | 2:4e21ea1275a1 | 469 | |
suntopbd | 2:4e21ea1275a1 | 470 | void D() |
suntopbd | 2:4e21ea1275a1 | 471 | { |
suntopbd | 2:4e21ea1275a1 | 472 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 473 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 474 | { |
suntopbd | 2:4e21ea1275a1 | 475 | dotpointer = &Dd[0]; |
suntopbd | 2:4e21ea1275a1 | 476 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 477 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 478 | } |
suntopbd | 2:4e21ea1275a1 | 479 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 480 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 481 | } |
suntopbd | 2:4e21ea1275a1 | 482 | |
suntopbd | 2:4e21ea1275a1 | 483 | void E() |
suntopbd | 2:4e21ea1275a1 | 484 | { |
suntopbd | 2:4e21ea1275a1 | 485 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 486 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 487 | { |
suntopbd | 2:4e21ea1275a1 | 488 | dotpointer = &Ee[0]; |
suntopbd | 2:4e21ea1275a1 | 489 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 490 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 491 | } |
suntopbd | 2:4e21ea1275a1 | 492 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 493 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 494 | } |
suntopbd | 2:4e21ea1275a1 | 495 | |
suntopbd | 2:4e21ea1275a1 | 496 | void F() |
suntopbd | 2:4e21ea1275a1 | 497 | { |
suntopbd | 2:4e21ea1275a1 | 498 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 499 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 500 | { |
suntopbd | 2:4e21ea1275a1 | 501 | dotpointer = &Ff[0]; |
suntopbd | 2:4e21ea1275a1 | 502 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 503 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 504 | } |
suntopbd | 2:4e21ea1275a1 | 505 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 506 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 507 | } |
suntopbd | 2:4e21ea1275a1 | 508 | |
suntopbd | 2:4e21ea1275a1 | 509 | |
suntopbd | 2:4e21ea1275a1 | 510 | |
suntopbd | 2:4e21ea1275a1 | 511 | void G() |
suntopbd | 2:4e21ea1275a1 | 512 | { |
suntopbd | 2:4e21ea1275a1 | 513 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 514 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 515 | { |
suntopbd | 2:4e21ea1275a1 | 516 | dotpointer = &Gg[0]; |
suntopbd | 2:4e21ea1275a1 | 517 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 518 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 519 | } |
suntopbd | 2:4e21ea1275a1 | 520 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 521 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 522 | } |
suntopbd | 2:4e21ea1275a1 | 523 | |
suntopbd | 2:4e21ea1275a1 | 524 | |
suntopbd | 2:4e21ea1275a1 | 525 | |
suntopbd | 2:4e21ea1275a1 | 526 | void H() |
suntopbd | 2:4e21ea1275a1 | 527 | { |
suntopbd | 2:4e21ea1275a1 | 528 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 529 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 530 | { |
suntopbd | 2:4e21ea1275a1 | 531 | dotpointer = &Hh[0]; |
suntopbd | 2:4e21ea1275a1 | 532 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 533 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 534 | } |
suntopbd | 2:4e21ea1275a1 | 535 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 536 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 537 | } |
suntopbd | 2:4e21ea1275a1 | 538 | |
suntopbd | 2:4e21ea1275a1 | 539 | |
suntopbd | 2:4e21ea1275a1 | 540 | void I() |
suntopbd | 2:4e21ea1275a1 | 541 | { |
suntopbd | 2:4e21ea1275a1 | 542 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 543 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 544 | { |
suntopbd | 2:4e21ea1275a1 | 545 | dotpointer = &Ii[0]; |
suntopbd | 2:4e21ea1275a1 | 546 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 547 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 548 | } |
suntopbd | 2:4e21ea1275a1 | 549 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 550 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 551 | } |
suntopbd | 2:4e21ea1275a1 | 552 | |
suntopbd | 2:4e21ea1275a1 | 553 | void J() |
suntopbd | 2:4e21ea1275a1 | 554 | { |
suntopbd | 2:4e21ea1275a1 | 555 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 556 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 557 | { |
suntopbd | 2:4e21ea1275a1 | 558 | dotpointer = &Jj[0]; |
suntopbd | 2:4e21ea1275a1 | 559 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 560 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 561 | } |
suntopbd | 2:4e21ea1275a1 | 562 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 563 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 564 | } |
suntopbd | 2:4e21ea1275a1 | 565 | |
suntopbd | 2:4e21ea1275a1 | 566 | |
suntopbd | 2:4e21ea1275a1 | 567 | |
suntopbd | 2:4e21ea1275a1 | 568 | void K() |
suntopbd | 2:4e21ea1275a1 | 569 | { |
suntopbd | 2:4e21ea1275a1 | 570 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 571 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 572 | { |
suntopbd | 2:4e21ea1275a1 | 573 | dotpointer = &Kk[0]; |
suntopbd | 2:4e21ea1275a1 | 574 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 575 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 576 | } |
suntopbd | 2:4e21ea1275a1 | 577 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 578 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 579 | } |
suntopbd | 2:4e21ea1275a1 | 580 | |
suntopbd | 2:4e21ea1275a1 | 581 | void L() |
suntopbd | 2:4e21ea1275a1 | 582 | { |
suntopbd | 2:4e21ea1275a1 | 583 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 584 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 585 | { |
suntopbd | 2:4e21ea1275a1 | 586 | dotpointer = &Ll[0]; |
suntopbd | 2:4e21ea1275a1 | 587 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 588 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 589 | } |
suntopbd | 2:4e21ea1275a1 | 590 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 591 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 592 | } |
suntopbd | 2:4e21ea1275a1 | 593 | |
suntopbd | 2:4e21ea1275a1 | 594 | |
suntopbd | 2:4e21ea1275a1 | 595 | void M() |
suntopbd | 2:4e21ea1275a1 | 596 | { |
suntopbd | 2:4e21ea1275a1 | 597 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 598 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 599 | { |
suntopbd | 2:4e21ea1275a1 | 600 | dotpointer = &Mm[0]; |
suntopbd | 2:4e21ea1275a1 | 601 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 602 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 603 | } |
suntopbd | 2:4e21ea1275a1 | 604 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 605 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 606 | } |
suntopbd | 2:4e21ea1275a1 | 607 | |
suntopbd | 2:4e21ea1275a1 | 608 | |
suntopbd | 2:4e21ea1275a1 | 609 | |
suntopbd | 2:4e21ea1275a1 | 610 | |
suntopbd | 2:4e21ea1275a1 | 611 | |
suntopbd | 2:4e21ea1275a1 | 612 | void N() |
suntopbd | 2:4e21ea1275a1 | 613 | { |
suntopbd | 2:4e21ea1275a1 | 614 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 615 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 616 | { |
suntopbd | 2:4e21ea1275a1 | 617 | dotpointer = &Nn[0]; |
suntopbd | 2:4e21ea1275a1 | 618 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 619 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 620 | } |
suntopbd | 2:4e21ea1275a1 | 621 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 622 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 623 | } |
suntopbd | 2:4e21ea1275a1 | 624 | |
suntopbd | 2:4e21ea1275a1 | 625 | |
suntopbd | 2:4e21ea1275a1 | 626 | |
suntopbd | 2:4e21ea1275a1 | 627 | void O() |
suntopbd | 2:4e21ea1275a1 | 628 | { |
suntopbd | 2:4e21ea1275a1 | 629 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 630 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 631 | { |
suntopbd | 2:4e21ea1275a1 | 632 | dotpointer = &Oo[0]; |
suntopbd | 2:4e21ea1275a1 | 633 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 634 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 635 | } |
suntopbd | 2:4e21ea1275a1 | 636 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 637 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 638 | } |
suntopbd | 2:4e21ea1275a1 | 639 | |
suntopbd | 2:4e21ea1275a1 | 640 | |
suntopbd | 2:4e21ea1275a1 | 641 | |
suntopbd | 2:4e21ea1275a1 | 642 | void P() |
suntopbd | 2:4e21ea1275a1 | 643 | { |
suntopbd | 2:4e21ea1275a1 | 644 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 645 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 646 | { |
suntopbd | 2:4e21ea1275a1 | 647 | dotpointer = &Pp[0]; |
suntopbd | 2:4e21ea1275a1 | 648 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 649 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 650 | } |
suntopbd | 2:4e21ea1275a1 | 651 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 652 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 653 | } |
suntopbd | 2:4e21ea1275a1 | 654 | |
suntopbd | 2:4e21ea1275a1 | 655 | |
suntopbd | 2:4e21ea1275a1 | 656 | void Q() |
suntopbd | 2:4e21ea1275a1 | 657 | { |
suntopbd | 2:4e21ea1275a1 | 658 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 659 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 660 | { |
suntopbd | 2:4e21ea1275a1 | 661 | dotpointer = &Qq[0]; |
suntopbd | 2:4e21ea1275a1 | 662 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 663 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 664 | } |
suntopbd | 2:4e21ea1275a1 | 665 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 666 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 667 | } |
suntopbd | 2:4e21ea1275a1 | 668 | |
suntopbd | 2:4e21ea1275a1 | 669 | void R() |
suntopbd | 2:4e21ea1275a1 | 670 | { |
suntopbd | 2:4e21ea1275a1 | 671 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 672 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 673 | { |
suntopbd | 2:4e21ea1275a1 | 674 | dotpointer = &Rr[0]; |
suntopbd | 2:4e21ea1275a1 | 675 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 676 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 677 | } |
suntopbd | 2:4e21ea1275a1 | 678 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 679 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 680 | } |
suntopbd | 2:4e21ea1275a1 | 681 | |
suntopbd | 2:4e21ea1275a1 | 682 | void S() |
suntopbd | 2:4e21ea1275a1 | 683 | { |
suntopbd | 2:4e21ea1275a1 | 684 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 685 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 686 | { |
suntopbd | 2:4e21ea1275a1 | 687 | dotpointer = &Ss[0]; |
suntopbd | 2:4e21ea1275a1 | 688 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 689 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 690 | } |
suntopbd | 2:4e21ea1275a1 | 691 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 692 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 693 | } |
suntopbd | 2:4e21ea1275a1 | 694 | |
suntopbd | 2:4e21ea1275a1 | 695 | |
suntopbd | 2:4e21ea1275a1 | 696 | |
suntopbd | 2:4e21ea1275a1 | 697 | void T() |
suntopbd | 2:4e21ea1275a1 | 698 | { |
suntopbd | 2:4e21ea1275a1 | 699 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 700 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 701 | { |
suntopbd | 2:4e21ea1275a1 | 702 | dotpointer = &Tt[0]; |
suntopbd | 2:4e21ea1275a1 | 703 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 704 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 705 | } |
suntopbd | 2:4e21ea1275a1 | 706 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 707 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 708 | } |
suntopbd | 2:4e21ea1275a1 | 709 | |
suntopbd | 2:4e21ea1275a1 | 710 | |
suntopbd | 2:4e21ea1275a1 | 711 | |
suntopbd | 2:4e21ea1275a1 | 712 | void U() |
suntopbd | 2:4e21ea1275a1 | 713 | { |
suntopbd | 2:4e21ea1275a1 | 714 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 715 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 716 | { |
suntopbd | 2:4e21ea1275a1 | 717 | dotpointer = &Uu[0]; |
suntopbd | 2:4e21ea1275a1 | 718 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 719 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 720 | } |
suntopbd | 2:4e21ea1275a1 | 721 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 722 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 723 | } |
suntopbd | 2:4e21ea1275a1 | 724 | |
suntopbd | 2:4e21ea1275a1 | 725 | |
suntopbd | 2:4e21ea1275a1 | 726 | void V() |
suntopbd | 2:4e21ea1275a1 | 727 | { |
suntopbd | 2:4e21ea1275a1 | 728 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 729 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 730 | { |
suntopbd | 2:4e21ea1275a1 | 731 | dotpointer = &Vv[0]; |
suntopbd | 2:4e21ea1275a1 | 732 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 733 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 734 | } |
suntopbd | 2:4e21ea1275a1 | 735 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 736 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 737 | } |
suntopbd | 2:4e21ea1275a1 | 738 | |
suntopbd | 2:4e21ea1275a1 | 739 | void W() |
suntopbd | 2:4e21ea1275a1 | 740 | { |
suntopbd | 2:4e21ea1275a1 | 741 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 742 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 743 | { |
suntopbd | 2:4e21ea1275a1 | 744 | dotpointer = &Ww[0]; |
suntopbd | 2:4e21ea1275a1 | 745 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 746 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 747 | } |
suntopbd | 2:4e21ea1275a1 | 748 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 749 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 750 | } |
suntopbd | 2:4e21ea1275a1 | 751 | |
suntopbd | 2:4e21ea1275a1 | 752 | |
suntopbd | 2:4e21ea1275a1 | 753 | |
suntopbd | 2:4e21ea1275a1 | 754 | void X() |
suntopbd | 2:4e21ea1275a1 | 755 | { |
suntopbd | 2:4e21ea1275a1 | 756 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 757 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 758 | { |
suntopbd | 2:4e21ea1275a1 | 759 | dotpointer = &Xx[0]; |
suntopbd | 2:4e21ea1275a1 | 760 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 761 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 762 | } |
suntopbd | 2:4e21ea1275a1 | 763 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 764 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 765 | } |
suntopbd | 2:4e21ea1275a1 | 766 | |
suntopbd | 2:4e21ea1275a1 | 767 | void Y() |
suntopbd | 2:4e21ea1275a1 | 768 | { |
suntopbd | 2:4e21ea1275a1 | 769 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 770 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 771 | { |
suntopbd | 2:4e21ea1275a1 | 772 | dotpointer = &Yy[0]; |
suntopbd | 2:4e21ea1275a1 | 773 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 774 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 775 | } |
suntopbd | 2:4e21ea1275a1 | 776 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 777 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 778 | } |
suntopbd | 2:4e21ea1275a1 | 779 | |
suntopbd | 2:4e21ea1275a1 | 780 | |
suntopbd | 2:4e21ea1275a1 | 781 | void Z() |
suntopbd | 2:4e21ea1275a1 | 782 | { |
suntopbd | 2:4e21ea1275a1 | 783 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 784 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 785 | { |
suntopbd | 2:4e21ea1275a1 | 786 | dotpointer = &Zz[0]; |
suntopbd | 2:4e21ea1275a1 | 787 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 788 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 789 | } |
suntopbd | 2:4e21ea1275a1 | 790 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 791 | gap_space(gaptime); |
suntopbd | 2:4e21ea1275a1 | 792 | } |
suntopbd | 2:4e21ea1275a1 | 793 | |
suntopbd | 2:4e21ea1275a1 | 794 | |
suntopbd | 3:6cdeb3b19afb | 795 | void Amark() |
suntopbd | 3:6cdeb3b19afb | 796 | { |
suntopbd | 3:6cdeb3b19afb | 797 | timer.start(); |
suntopbd | 3:6cdeb3b19afb | 798 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 3:6cdeb3b19afb | 799 | { |
suntopbd | 3:6cdeb3b19afb | 800 | dotpointer = &amark[0]; |
suntopbd | 3:6cdeb3b19afb | 801 | disp_page(dotpointer); |
suntopbd | 3:6cdeb3b19afb | 802 | disp_off(); |
suntopbd | 3:6cdeb3b19afb | 803 | } |
suntopbd | 3:6cdeb3b19afb | 804 | timer.reset(); |
suntopbd | 3:6cdeb3b19afb | 805 | gap_space(gaptime); |
suntopbd | 3:6cdeb3b19afb | 806 | } |
suntopbd | 3:6cdeb3b19afb | 807 | |
suntopbd | 2:4e21ea1275a1 | 808 | |
suntopbd | 2:4e21ea1275a1 | 809 | void space() |
suntopbd | 2:4e21ea1275a1 | 810 | { |
suntopbd | 2:4e21ea1275a1 | 811 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 812 | while (timer.read() < speed)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 813 | { |
suntopbd | 2:4e21ea1275a1 | 814 | dotpointer = &sp[0]; |
suntopbd | 2:4e21ea1275a1 | 815 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 816 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 817 | } |
suntopbd | 2:4e21ea1275a1 | 818 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 819 | } |
suntopbd | 2:4e21ea1275a1 | 820 | |
suntopbd | 2:4e21ea1275a1 | 821 | void gap_space(float gt) |
suntopbd | 2:4e21ea1275a1 | 822 | |
suntopbd | 2:4e21ea1275a1 | 823 | { |
suntopbd | 2:4e21ea1275a1 | 824 | timer.start(); |
suntopbd | 2:4e21ea1275a1 | 825 | while (timer.read() < gt)// time of how long character will stay |
suntopbd | 2:4e21ea1275a1 | 826 | { |
suntopbd | 2:4e21ea1275a1 | 827 | dotpointer = &sp[0]; |
suntopbd | 2:4e21ea1275a1 | 828 | disp_page(dotpointer); |
suntopbd | 2:4e21ea1275a1 | 829 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 830 | } |
suntopbd | 2:4e21ea1275a1 | 831 | timer.reset(); |
suntopbd | 2:4e21ea1275a1 | 832 | } |
suntopbd | 2:4e21ea1275a1 | 833 | // End of Tasks // |
suntopbd | 2:4e21ea1275a1 | 834 | |
suntopbd | 2:4e21ea1275a1 | 835 | |
suntopbd | 2:4e21ea1275a1 | 836 | // Functions Body // |
suntopbd | 2:4e21ea1275a1 | 837 | void disp_off(void) |
suntopbd | 2:4e21ea1275a1 | 838 | { |
suntopbd | 2:4e21ea1275a1 | 839 | // for CC type |
suntopbd | 2:4e21ea1275a1 | 840 | C1 = 1; C2 = 1; C3 = 1; C4 = 1; C5 = 1; C6 = 1; C7 = 1; C8 = 1; |
suntopbd | 2:4e21ea1275a1 | 841 | // for CA |
suntopbd | 2:4e21ea1275a1 | 842 | //C1 = 0; C2 = 0; C3 = 0; C4 = 0; C5 = 0; C6 = 0; C7 = 0; C8 = 0; |
suntopbd | 2:4e21ea1275a1 | 843 | } |
suntopbd | 2:4e21ea1275a1 | 844 | |
suntopbd | 2:4e21ea1275a1 | 845 | void disp_line(int r,int c1,int c2,int c3,int c4,int c5,int c6,int c7,int c8) |
suntopbd | 2:4e21ea1275a1 | 846 | { |
suntopbd | 2:4e21ea1275a1 | 847 | disp_off(); |
suntopbd | 2:4e21ea1275a1 | 848 | if(r==1) {R1=1;R2=0;R3=0;R4=0;R5=0;R6=0;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 849 | if(r==2) {R1=0;R2=1;R3=0;R4=0;R5=0;R6=0;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 850 | if(r==3) {R1=0;R2=0;R3=1;R4=0;R5=0;R6=0;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 851 | if(r==4) {R1=0;R2=0;R3=0;R4=1;R5=0;R6=0;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 852 | if(r==5) {R1=0;R2=0;R3=0;R4=0;R5=1;R6=0;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 853 | if(r==6) {R1=0;R2=0;R3=0;R4=0;R5=0;R6=1;R7=0;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 854 | if(r==7) {R1=0;R2=0;R3=0;R4=0;R5=0;R6=0;R7=1;R8=0;} |
suntopbd | 2:4e21ea1275a1 | 855 | if(r==8) {R1=0;R2=0;R3=0;R4=0;R5=0;R6=0;R7=0;R8=1;} |
suntopbd | 2:4e21ea1275a1 | 856 | C1=c1;C2=c2;C3=c3;C4=c4; C5=c5;C6=c6;C7=c7;C8=c8; |
suntopbd | 2:4e21ea1275a1 | 857 | } |
suntopbd | 2:4e21ea1275a1 | 858 | |
suntopbd | 2:4e21ea1275a1 | 859 | |
suntopbd | 2:4e21ea1275a1 | 860 | |
suntopbd | 2:4e21ea1275a1 | 861 | void disp_page(int *dot) |
suntopbd | 2:4e21ea1275a1 | 862 | { |
suntopbd | 2:4e21ea1275a1 | 863 | disp_line(1,*(dot+0) ,*(dot+1) ,*(dot+2) ,*(dot+3) ,*(dot+4) ,*(dot+5) ,*(dot+6) ,*(dot+7) ); |
suntopbd | 2:4e21ea1275a1 | 864 | disp_line(2,*(dot+8) ,*(dot+9) ,*(dot+10),*(dot+11),*(dot+12),*(dot+13),*(dot+14),*(dot+15)); |
suntopbd | 2:4e21ea1275a1 | 865 | disp_line(3,*(dot+16),*(dot+17),*(dot+18),*(dot+19),*(dot+20),*(dot+21),*(dot+22),*(dot+23)); |
suntopbd | 2:4e21ea1275a1 | 866 | disp_line(4,*(dot+24),*(dot+25),*(dot+26),*(dot+27),*(dot+28),*(dot+29),*(dot+30),*(dot+31)); |
suntopbd | 2:4e21ea1275a1 | 867 | disp_line(5,*(dot+32),*(dot+33),*(dot+34),*(dot+35),*(dot+36),*(dot+37),*(dot+38),*(dot+39)); |
suntopbd | 2:4e21ea1275a1 | 868 | disp_line(6,*(dot+40),*(dot+41),*(dot+42),*(dot+43),*(dot+44),*(dot+45),*(dot+46),*(dot+47)); |
suntopbd | 2:4e21ea1275a1 | 869 | disp_line(7,*(dot+48),*(dot+49),*(dot+50),*(dot+51),*(dot+52),*(dot+53),*(dot+54),*(dot+55)); |
suntopbd | 2:4e21ea1275a1 | 870 | disp_line(8,*(dot+56),*(dot+57),*(dot+58),*(dot+59),*(dot+60),*(dot+61),*(dot+62),*(dot+63)); |
suntopbd | 2:4e21ea1275a1 | 871 | |
suntopbd | 2:4e21ea1275a1 | 872 | } |
suntopbd | 2:4e21ea1275a1 | 873 | |
suntopbd | 2:4e21ea1275a1 | 874 | // End of Functions // |