JesCads
Posts: 5
Joined: Sun Mar 22, 2020 11:45 pm

C# iot library for ws2811 leds

Thu Mar 26, 2020 12:25 am

So, I bought these LEDs to use them with my Raspberry Pi. Unfortunately I couldnt find any C# library for windows iot. However, I found some for WS2812B LEDs, but Im not sure if they are compatible with mine. I have seen some tutorials in python for the WS2812 leds which are also compatible with the WS2812B and WS2811 leds. So maybe the C# librarys are also going to work. Does anyone have any experience with this kind topic or knows about a library which would fit?

trejan
Posts: 1201
Joined: Tue Jul 02, 2019 2:28 pm

Re: C# iot library for ws2811 leds

Thu Mar 26, 2020 12:54 am

A WS2812 is a WS2811 together with 3 LED dies inside a single package. The serial control bitstream it wants is exactly the same assuming you do have a real WS2811 and its not a clone.

Be warned that Microsoft appears to have stopped supporting Windows 10 IoT Core for Raspberry Pi.

User avatar
DougieLawson
Posts: 37489
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: C# iot library for ws2811 leds

Thu Mar 26, 2020 11:00 am

If you insist on using C# you're likely to get a better experience with plain Raspbian and the Mono stuff. (Although it appear to suffer from the same lack of support as Win10 IoT to some extent.)

The other option is to sharpen your coding pencil and learn C/C++.

Steer clear of Java as the Pi4J stuff is based on the deprecated WiringPi library.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Windows 10 for IoT”