Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rpany-pi-shell
- > tool-help rpany-pi
- pi : pins-write pwm-bal pwm-ms pwm-range pwm-clock pi-revision wpi-to-gpio phys-to-gpio pad-drive
- pin_io : pin-write pin-write-pwm pin-read analog-read analog-write
- pin_setup : pin-out pin-in pin-pwm pin-clock pin-up pin-down pin-off
- timing : since-milli since-micro delay-milli delay-micro
- wiring : wiring-init wiring-gpio wiring-phys wiring-sys
- > wiring-init
- > 0 pin-out
- > 0 1 pin-write
- > 0 0 pin-write
- > : led-on 0 1 pin-write ;
- > : led-off 0 0 pin-write ;
- > led-on
- > led-off
- > led-on 500 delay-milli led-off
- > : led-flash led-on 500 delay-milli led-off 500 delay-milli ;
- > led-flash
- > 10 0 do led-flash loop
- > see-vocab user
- : led-on 0 1 pin-write ;
- : led-off 0 0 pin-write ;
- : led-flash led-on 500 delay-milli led-off 500 delay-milli ;
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement