microsoft / jacdac

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

RGB Module- LED strip fails to turn off #1363

Open FrankSchmidtDDS opened 8 months ago

FrankSchmidtDDS commented 8 months ago

Describe the bug A clear and concise description of what the bug is. When using RGB module and any number of LEDs the code block: "Set all led strip1 to black" does not turn all LEDs off. There is no : "set all LED strip1 to off".

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' : this link https://makecode.microbit.org/_912EvJ7v353e
  2. Click on '....' Download to Microbit with Jacdac RGB module attached and neopixel strip or ring attached.
  3. Scroll down to '....'
  4. See error: LEDs do not turn off when expected.

Expected behavior A clear and concise description of what you expected to happen. LEDs turn off with 'set all led to black' included in code, on button 1 pressed.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

MKleinSB commented 8 months ago

Yes, using another colour like yellow works. Black doesn´t work.

grafik

MKleinSB commented 8 months ago

Turning off LEDs works in Software Jacdac! So perhaps it´s a problem with the transmission of 0x000000 in the Jacdac protocol?

pelikhan commented 8 months ago

@mmoskal didn't you fixed that one in jacdac-c ?