Trying neopixel sample

I just received a neopixel (8x8) and wanted to have a look at your sample.
If I load the Neopixel 5x5 i got a message telling that the WS2812 could not be found while the reference '2.0.0.0) is loaded. any tips ?

Missing the “using” statement to pull in the libs?

no, it’s there. and I didn’t change anything. and libs are loaded …

Changed to:

var signalPin = GpioController.GetDefault().OpenPin(SC20260.GpioPin.PA0);
var leds = new WS2812Controller(signalPin, NUM_LED);

Hi Dat

Thanks
I tried that but then it returned one error with led.Draw()


It works if I use Flush() instead

1 Like