ENG-CANSAT-NEOPIXEL

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche

What are NeoPixels

NeoPixel is a brand from Adafruit Industries. It concerns individually addressable LEDs that can be controlled with a single data line.

NeoPixel are usually sold in strand but also very popular is various form-factor.

NeoPixel-UserGuide-21.jpg

The NeoPixels contains a small microcontroller used to decode the information send on the Data Line and using PWM generator to drive the LEDs.

NeoPixel-UserGuide-01.jpg

It also include a constant current supply for the LED, which means that the color would not change with the supply voltage.

NeoPixel is a very powerful technology. You can learn more about it from the Adafruit's neoPixel User Guide or the translated NeoPixel user guide.

The Feather M0 Express also contains a NeoPixel LED.

Installing the library

You can also use the "Library Manager" to ease the installation of the BMP280 library.

From the "Sketch" menu, select the sub-menu "Include library" --> "Library Manager" like shown on the picture here under.

ENG-CANSAT-BMP280-00.png

In the library manager, key-in the value "neopixel" in the search box. Then click on the install button in the front of the Adafruit DMA NeoPixel Library by Adafruit. This library is suited for the ATSAMD21 microcontroller as used on this Feather M0 plateform.

ENG-CANSAT-NEOPIXEL-20.png


Written by Meurisse D. from MC Hobby - License: CC-SA-BY.