Modular ESP Firmware - NeoPixels - Individual Functions
Revision as of 16:47, 31 December 2020 by Tinker (talk | contribs) (→void SetAPixel(int PixelNumber, int Colour[]))
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 }