Modular ESP Firmware - NeoPixels - Individual Functions
Jump to navigation
Jump to search
Contents
Main Functions
void SetAPixel(int PixelNumber, int Colour[])
1 // Set the colour of a single pixel in the strip
2
3 void SetAPixel(int PixelNumber, int Colour[])
4 {
5 pixels.setPixelColor(PixelNumber, Colour[0], Colour[1], Colour[2]);
6 pixels.show();
7 }