Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ws2812b LED driver does not work properly on Raspberry Pi 2B and 4B when LED length < 8. #1328

Open
SongweiFu-ITEM opened this issue Nov 27, 2020 · 2 comments
Labels
bug Something isn't working Priority:2 Work that is important, but not critical for the release up-for-grabs Good issue for external contributors to iot

Comments

@SongweiFu-ITEM
Copy link

When LED length is smaller than 8, the color of all LEDs are not correct. But when length is larger than 8, all LEDs are again all ok.

The IoT.Device.Bindings in my NuGet has v1.1.0 (published on 11/9/2020).
The sample program I took is from here: https://github.com/dotnet/iot/tree/master/src/devices/Ws28xx

dotnet --info from my Raspi 2B
.NET Core SDK (reflecting any global.json):
Version: 3.1.102
Commit: 573d158fea

Runtime Environment:
OS Name: raspbian
OS Version: 8
OS Platform: Linux
RID: linux-arm
Base Path: /home/pi/dotnet-arm32/sdk/3.1.102/

Host (useful for support):
Version: 3.1.2
Commit: 916b5cba26

.NET Core SDKs installed:
3.1.102 [/home/pi/dotnet-arm32/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.2 [/home/pi/dotnet-arm32/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.2 [/home/pi/dotnet-arm32/shared/Microsoft.NETCore.App]

@SongweiFu-ITEM SongweiFu-ITEM added the bug Something isn't working label Nov 27, 2020
@Ellerbach Ellerbach added the up-for-grabs Good issue for external contributors to iot label Mar 25, 2021
@Ellerbach
Copy link
Member

[Triage] Up for grabs!

@jesseryoung
Copy link
Contributor

jesseryoung commented Nov 12, 2021

Just ran into this today as well. Funnily enough, if you increase the number of pixels to 8 (without actually having 8 pixels on the line) it works just fine.

I'd love to help out here, but I can't wrap my head around how this works to offer any input: https://github.com/dotnet/iot/blob/main/src/devices/Ws28xx/BitmapImageNeo3.cs

@krwq krwq added the Priority:2 Work that is important, but not critical for the release label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority:2 Work that is important, but not critical for the release up-for-grabs Good issue for external contributors to iot
Projects
None yet
Development

No branches or pull requests

4 participants