class Geppeto::Commands::Events
Public Class Methods
new(scout)
click to toggle source
# File lib/commands/events.rb, line 4 def initialize(scout) @scout = scout end
Public Instance Methods
setcycle(digitalMs, analogMs, peripheralMs)
click to toggle source
# File lib/commands/events.rb, line 16 def setcycle(digitalMs, analogMs, peripheralMs) @scout.request("events.setcycle", digitalMs, analogMs, peripheralMs ) end
start()
click to toggle source
# File lib/commands/events.rb, line 8 def start @scout.request("events.start") end
stop()
click to toggle source
# File lib/commands/events.rb, line 12 def stop @scout.request("events.stop") end