Open-Myo icon indicating copy to clipboard operation
Open-Myo copied to clipboard

Change led colors only works adding delay

Open raquena opened this issue 6 years ago • 3 comments

So after playing around with the code for a while, I've realized the LED's are not changing color in my case, so I decided to debug it, and it turned out that the led's only change color if I add a small delay after calling

""myo_device.services.set_leds([128, 128, 255], [128, 128, 255]) # purple logo and bar LEDs""

Any clue of why does this happen?

Cheers!

raquena avatar Feb 16 '19 18:02 raquena

time.sleep(0.1)

raquena avatar Feb 16 '19 18:02 raquena

My guess is the same than in issue #6 , maybe is because the version of the firmware of your Myo is different than the one I have. Could you give me your firmware version? Use this command: fw = myo_device.services.firmware() I'll try to check my firmware version as soon as I can; currently I don't have a Myo at hand, but I can ask some colleague to check it for me.

Alvipe avatar Feb 18 '19 11:02 Alvipe

Hey, Sorry for the delay in my answer. Firmware version. (1, 5, 1970, 2)

raquena avatar Mar 15 '19 10:03 raquena