Class: Pinoccio::EventsCommands
Instance Method Summary
collapse
#execute, #get, #initialize, #run
Instance Method Details
#set_cycle(digital_ms = 50, analogue_ms = 60_000, peripheral_ms = 60_000) ⇒ Object
295
296
297
|
# File 'lib/commands.rb', line 295
def set_cycle(digital_ms=50, analogue_ms=60_000, peripheral_ms=60_000)
execute("events.setcycle(#{digital_ms}, #{analogue_ms}, #{peripheral_ms})")
end
|
#start ⇒ Object
287
288
289
|
# File 'lib/commands.rb', line 287
def start
execute("events.start")
end
|
#stop ⇒ Object
291
292
293
|
# File 'lib/commands.rb', line 291
def stop
execute("events.stop")
end
|