Modular ESP Firmware - NeoPixels - Individual Functions

From The TinkerNet Wiki
Revision as of 16:47, 31 December 2020 by Tinker (talk | contribs) (→‎void SetAPixel(int PixelNumber, int Colour[]))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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   pixels.setPixelColor(PixelNumber, Colour[0], Colour[1], Colour[2]);
6   pixels.show();
7 }

Supplimentary Functions

foo

bar

Functions that call those

foo

bar