Machine class of PicoRuby

Singleton methods

busy_wait_ms

Machine.busy_wait_ms(Integer ms) -> Integer

deep_sleep

Machine.deep_sleep(Integer gpio_pin, bool edge, bool high) -> 0

delay_ms

Machine.delay_ms(Integer ms) -> Integer

sleep

Machine.sleep(Integer sec) -> Integer

using_busy_wait

Machine.using_busy_wait() { () -> void } -> void

using_delay

Machine.using_delay() { () -> void } -> void
Tags: