Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ins: https://youtu.be/msYBfoqJJik
- #satellite switcher V
- alias SatDish d0
- alias DiodeSlide d1
- alias LedDisplay d2
- alias LastID r15
- alias Vstep r13
- alias Hstep r14
- move Vstep 5
- move Hstep 10
- loop:
- yield
- l r0 SatDish SignalStrength
- l r1 SatDish SignalID
- l r2 DiodeSlide On
- s db Setting r0
- s DiodeSlide Setting r0
- s LedDisplay Setting r1
- bgtz r2 loop
- beq r1 LastID rotate
- blt r0 0.95 rotate
- move LastID r1
- s DiodeSlide On 1
- j loop
- rotate:
- l r0 SatDish Vertical
- l r1 SatDish Horizontal
- add r0 r0 Vstep
- blt r0 5 Vrev
- bgt r0 90 Vrev
- step:
- s SatDish Vertical r0
- s SatDish Horizontal r1
- j loop
- Vrev:
- mul Vstep Vstep -1
- max r0 r0 5
- min r0 r0 90
- add r1 r1 Hstep
- blt r1 0 Hrev
- bgt r1 355 Hrev
- j step
- Hrev:
- mul Hstep Hstep -1
- max r1 r1 0
- min r1 r1 355
- j step
Add Comment
Please, Sign In to add comment