Revision 1139
Measured timing
Fixed interrupt handler bug
main.c | ||
---|---|---|
119 | 119 |
} |
120 | 120 |
} |
121 | 121 |
|
122 |
if (true)
|
|
122 |
if (false)
|
|
123 | 123 |
{ |
124 | 124 |
while (1) |
125 | 125 |
{ |
... | ... | |
142 | 142 |
} |
143 | 143 |
} |
144 | 144 |
|
145 |
if (true)
|
|
145 |
if (false)
|
|
146 | 146 |
{ |
147 |
//orbs_set (2,4,6,8,10,12); |
|
148 |
//orbs_set (32, 64, 96, 128, 160, 192); |
|
149 |
orbs_set (128,128,128,128,128,128); |
|
150 |
while (1); |
|
151 |
} |
|
152 |
|
|
153 |
if (false) |
|
154 |
{ |
|
147 | 155 |
if (!button2_read ()) |
148 | 156 |
{ |
149 | 157 |
orb_set_mode (orb_mode_pwm); |
... | ... | |
183 | 191 |
|
184 | 192 |
// Do some lighting |
185 | 193 |
if (!button2_read ()) |
194 |
color_circle (); |
|
195 |
else |
|
186 | 196 |
acl (); |
187 |
else |
|
188 |
color_circle (); |
|
189 | 197 |
|
190 | 198 |
} |
Also available in: Unified diff