Method: Sphero#user_led

Defined in:
lib/sphero.rb

#user_ledObject

This retrieves the “user LED color” which is stored in the config block (which may or may not be actively driven to the RGB LED).



98
99
100
101
102
# File 'lib/sphero.rb', line 98

def user_led
  packet = Request::GetRGB.new(@seq)
  queue_packet packet
  return sync_response packet.seq
end