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
read_memory
Machine.read_memory(Integer address, Integer size) -> String
sleep
Machine.sleep(Integer sec) -> Integer
unique_id
Machine.unique_id() -> String
using_busy_wait
Machine.using_busy_wait() { () -> void } -> void
using_delay
Machine.using_delay() { () -> void } -> void