Thread
:
[in devel] LED pattern clock while on charger
View Single Post
blue_led
2010-05-19 , 19:58
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#
15
if only one color is needed read this
http://talk.maemo.org/showpost.php?p...6&postcount=99
because only 14 commands are available we can make ( at first sight ) 7 loops like this ( 23 : 55 )
0 >>
9d80
1 >>
e104
call & wait second engine
2 >> repeat step 2 for x times (
a081
for 2 cycles)
3 >>
7f02
interdigits pause
4>>
e104
call & wait second engine
5>> repeat step
4
for Y times ( a10
4
for 3 cycles second digit )
6 >>
7f02
interdigit pause
7 >>
e104
call & wait second engine
8>> repeat step
7
for x times ( a20
7
for 5 cycles third digit )
9 >>
7f02
interdigits pause
10 >>
e104
call & wait second engine
11 >> repeat step
10
for x times ( a20
a
for 5 cycles four digit)
12 >>
7f00
last digit pause
13 >>
a28c
cycle for more pause
14 empty
15 >>
0000
reset
the second engine
9d80
087f
pulse up
097f
pulse down
e082
trig & wait from engine 1
4000
just in case ....
0000
it is a lot of command available even for black steps
engine 1
jump to second engine steps are the same
e104
branch command
a000 + 80 * times + start_loop_step_number
( in hexa )
for morse code lovers ... SOS pattern
Code:
R;9d80e104150fa101e104a104150fa104e104150fa1087f0b0000;9d80e08040ff140f4000e0020000
Last edited by blue_led; 2010-05-19 at
20:59
.
Quote & Reply
|
The Following User Says Thank You to blue_led For This Useful Post:
pH5
blue_led
View Public Profile
Send a private message to blue_led
Find all posts by blue_led