mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-10 06:14:26 +02:00
Updated FAQ #3 (markdown)
@@ -56,7 +56,7 @@ void loop() {
|
|||||||
// other parts of your code, you set the colors, and show
|
// other parts of your code, you set the colors, and show
|
||||||
if (strip != NULL) {
|
if (strip != NULL) {
|
||||||
// some arbitrary code
|
// some arbitrary code
|
||||||
for (uint16_t pixel = 0; pixel < strip.PixelCount(); pixel++) {
|
for (uint16_t pixel = 0; pixel < strip->PixelCount(); pixel++) {
|
||||||
strip->SetPixelColor(pixel, red);
|
strip->SetPixelColor(pixel, red);
|
||||||
}
|
}
|
||||||
strip->Show();
|
strip->Show();
|
||||||
|
Reference in New Issue
Block a user