Modular ESP Firmware - NeoPixels - Individual Functions

From The TinkerNet Wiki
Jump to navigation Jump to search

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   pixels1.setPixelColor(PixelNumber, Colour[0], Colour[1], Colour[2]);
6   pixels1.show();
7 }

Supplimentary Functions

foo

bar

Functions that call those

foo

bar