Skip to content

Instantly share code, notes, and snippets.

@esden
Created December 29, 2009 14:23
Show Gist options
  • Save esden/265334 to your computer and use it in GitHub Desktop.
Save esden/265334 to your computer and use it in GitHub Desktop.
const const uint16_t timeslot_table[] PROGMEM =
{
2, 8, 19, 34, 52, 75, 102, 134,
169, 208, 252, 299, 351, 406, 466, 530,
598, 669, 745, 825, 909, 998, 1090, 1186,
1286, 1390, 1499, 1611, 1728, 1848, 1972, 2101,
2233, 2370, 2511, 2655, 2804, 2956, 3113, 3274,
3438, 3607, 3780, 3957, 4137, 4322, 4511, 4704,
4900, 5101, 5306, 5515, 5728, 5944, 6165, 6390,
6619, 6852, 7089, 7329, 7574, 7823, 8076, 8333,
8593, 8858, 9127, 9400, 9676, 9957, 10242, 10531,
10823, 11120, 11421, 11725, 12034, 12347, 12663, 12984,
13309, 13637, 13970, 14306, 14647, 14991, 15340, 15692,
16049, 16409, 16774, 17142, 17514, 17891, 18271, 18655,
19043, 19436, 19832, 20232, 20636, 21044, 21456, 21872,
22292, 22716, 23144, 23576, 24012, 24452, 24896, 25344,
25795, 26251, 26711, 27175, 27642, 28114, 28589, 29069,
29552, 30040, 30531, 31027, 31526, 32029, 32537, 33048,
33563, 34082, 34605, 35132, 35663, 36198, 36737, 37280,
37827, 38378, 38932, 39491, 40054, 40621, 41191, 41766,
42344, 42927, 43513, 44103, 44698, 45296, 45898, 46504,
47114, 47728, 48347, 48968, 49594, 50224, 50858, 51496,
52138, 52783, 53433, 54086, 54744, 55405, 56071, 56740,
57414, 58091, 58772, 59457, 60146, 60839, 61536, 62237,
62942, 63651, 64364, 65080, 65801, 66526, 67254, 67987,
68723, 69463, 70208, 70956, 71708, 72464, 73224, 73988,
74756, 75528, 76304, 77084, 77867, 78655, 79447, 80242,
81042, 81845, 82652, 83464, 84279, 85098, 85921, 86748,
87579, 88414, 89253, 90096, 90942, 91793, 92648, 93506,
94369, 95235, 96105, 96980, 97858, 98740, 99626, 100516,
101410, 102308, 103209, 104115, 105025, 105938, 106856, 107777,
108703, 109632, 110565, 111502, 112444, 113389, 114338, 115290,
116247, 117208, 118173, 119141, 120114, 121090, 122071, 123055,
124043, 125035, 126032, 127032, 128036, 129043, 130055, 131071};
0 2
1 8
2 18
3 31
4 49
5 71
6 96
7 126
8 159
9 197
10 238
11 283
12 333
13 386
14 443
15 504
16 569
17 638
18 711
19 787
20 868
21 953
22 1041
23 1134
24 1230
25 1331
26 1435
27 1543
28 1655
29 1772
30 1892
31 2016
32 2144
33 2276
34 2411
35 2551
36 2695
37 2842
38 2994
39 3150
40 3309
41 3472
42 3640
43 3811
44 3986
45 4165
46 4348
47 4535
48 4726
49 4921
50 5120
51 5323
52 5529
53 5740
54 5955
55 6173
56 6396
57 6622
58 6852
59 7087
60 7325
61 7567
62 7813
63 8063
64 8317
65 8575
66 8836
67 9102
68 9372
69 9646
70 9923
71 10205
72 10490
73 10779
74 11073
75 11370
76 11671
77 11976
78 12285
79 12598
80 12915
81 13236
82 13561
83 13890
84 14222
85 14559
86 14899
87 15244
88 15592
89 15945
90 16301
91 16661
92 17025
93 17393
94 17765
95 18141
96 18521
97 18905
98 19293
99 19685
100 20080
101 20480
102 20884
103 21291
104 21702
105 22118
106 22537
107 22960
108 23387
109 23819
110 24254
111 24693
112 25135
113 25582
114 26033
115 26488
116 26946
117 27409
118 27876
119 28346
120 28820
121 29299
122 29781
123 30267
124 30757
125 31251
126 31750
127 32251
128 32757
129 33267
130 33781
131 34299
132 34820
133 35346
134 35875
135 36409
136 36946
137 37488
138 38033
139 38582
140 39135
141 39692
142 40253
143 40818
144 41387
145 41960
146 42537
147 43117
148 43702
149 44291
150 44883
151 45480
152 46080
153 46684
154 47293
155 47905
156 48521
157 49141
158 49765
159 50393
160 51025
161 51661
162 52300
163 52944
164 53592
165 54243
166 54899
167 55558
168 56222
169 56889
170 57560
171 58235
172 58914
173 59598
174 60285
175 60975
176 61670
177 62369
178 63072
179 63779
180 64489
181 65204
182 65922
183 66645
184 67371
185 68101
186 68836
187 69574
188 70316
189 71062
190 71812
191 72566
192 73324
193 74085
194 74851
195 75621
196 76394
197 77172
198 77954
199 78739
200 79528
201 80322
202 81119
203 81920
204 82725
205 83534
206 84347
207 85164
208 85985
209 86810
210 87638
211 88471
212 89308
213 90148
214 90993
215 91841
216 92693
217 93550
218 94410
219 95274
220 96142
221 97014
222 97890
223 98770
224 99654
225 100542
226 101433
227 102329
228 103229
229 104132
230 105040
231 105951
232 106866
233 107786
234 108709
235 109636
236 110567
237 111502
238 112441
239 113384
240 114331
241 115282
242 116236
243 117195
244 118158
245 119124
246 120095
247 121069
248 122047
249 123030
250 124016
251 125006
252 126000
253 126998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment