microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

KittenBot RGB Strip device wont set all led to black #1376

Open dsssssssss9 opened 3 months ago

dsssssssss9 commented 3 months ago

@pelikhan

As previously reported in #1375

Am having a strange problem with the Kittenbot RGB Strip device from KIT B.....

Setting ALL LED to any colour works EXCEPT BLACK. Setting ALL LED to i BLACK just leaves the leds in the state / colour they were at beforehand.

Setting each individual led to black using a FOR loop also does not work .... I either get the final led remaining on or depending on the colour they were previously set on a different led or several remain lit. which ones remain lit vary with the colour & can change each time the FOR loop code is run!!

Not sure if the problem lies with the RGB Strip device hardware/firmware or the MS JacDac Mosule software?

Please advise ....

dsssssssss9 commented 3 months ago

@pelikhan

Further developments with this issue....

Apparently the firmware on the RGB strip device needs updating

here is the link which Kittenbit provided to https://w.kittenbot.cc/docs/hardware/modules/01update_firmware/?fbclid=IwZXh0bgNhZW0CMTAAAR1qpeq-rKXTy2Fm-jLeuq4eXaJbFuzSq8jmdrO1SD5W2h9UNS-TA-Jrf_U_aem_7Vga0HVyC5BJdWtyJ559AA

I have updated the firmware for the RGB strip debvice & now all the LED turn black ( off ) when buttons are pressed...

There does seem to be a problem if RGB strip blocks are put in the ON STARTUP - i will investigate further

smfox10 commented 1 month ago

After updating the firmware, I tested it with no problems. Here is my test program

https://makecode.microbit.org/_9Pq7aWM2xMeF

fabianhugo commented 1 month ago

I can confirm that the update works. Thank you! Also the following modules received updates:

And I also saw the website: https://microsoft.github.io/jacdac-docs/tools/updater/ could it be set up so it can also provide these updates?