hybridgroup / artoo-sphero

Artoo adaptor for the Sphero robot.
http://artoo.io
Other
24 stars 11 forks source link

Get rgb method addition #16

Closed solojavier closed 10 years ago

solojavier commented 10 years ago

user_led was returning something like: {"result":"#Sphero::Response::GetRGB:0x007fed829a2640"}

This new method returns an array of RGB values…

solojavier commented 10 years ago

I just need to test that it actually works with my sphero... battery dead :(

solojavier commented 10 years ago

This works but seems like sphero gem is broken it always return the same values... [1,104,36]

deadprogram commented 10 years ago

Hmm, interesting. @solojavier please look into it when you have a chance... thanks!

solojavier commented 10 years ago

@adzankich @deadprogram I just pushed the fix, we were missing a flag to save the user_led value :)

This is ready to merge on your approval.

deadprogram commented 10 years ago

Thanks! :cake: