Code: Select all
on ausfahren10 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,4 // 4 seconds is just under 10%
endon
on einfahren10 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,4 // 4 seconds is just under 10%
endon
on ausfahren25 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,11 // 11 seconds is just under 25%
endon
on einfahren25 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,11 // 11 seconds is just under 25%
endon
on ausfahren50 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,22 // 22 seconds is just under 50%
endon
on einfahren50 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,22 // 22 seconds is just under 50%
endon
on ausfahren100 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,45 // 45 seconds is 100%
endon
on einfahren100 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,45 // 45 seconds is 100%
endon
on Rules#Timer=1 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
endon
on stop do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
endon
Help is appreciated.
pj