Skip to content

Commit

Permalink
minors in test neopixel
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Jan 24, 2024
1 parent f36a73f commit 462445d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platformio/test/neopixel/src/neopixel.ino
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);

void setup()
{
pixels.begin(); // Si inizializza la libreria NeoPixel.
pixels.begin(); //INITIALIZE NeoPixel strip object (REQUIRED)
pixels.clear(); // Turn OFF all pixels ASAP
pixels.setBrightness(125); // Set BRIGHTNESS (max = 255)
}

void loop()
Expand Down

0 comments on commit 462445d

Please sign in to comment.