This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:itt:remotelights [2019/10/27 08:48] – pczekalski | en:iot-open:remotelab:itt:remotelights [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| #define PIN D2 | #define PIN D2 | ||
| - | // When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals. | + | // When we setup the NeoPixel library, we tell it how many pixels, |
| - | // Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest | + | // and which pin to use to send signals. |
| + | // Note that for older NeoPixel strips you might need to change | ||
| + | // the third parameter--see the strandtest | ||
| // example for more information on possible values. | // example for more information on possible values. | ||
| Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, | Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, | ||
| Line 92: | Line 94: | ||
| Serial.print(" | Serial.print(" | ||
| Serial.println(b); | Serial.println(b); | ||
| - | + | // Moderately bright green color. | |
| - | pixels.setPixelColor(0, | + | pixels.setPixelColor(0, |
| pixels.show(); | pixels.show(); | ||
| Line 110: | Line 112: | ||
| Serial.println(" | Serial.println(" | ||
| - | iot.printConfig(); | + | iot.printConfig(); |
| iot.setup(); | iot.setup(); | ||
| Line 124: | Line 126: | ||
| ==== Support ==== | ==== Support ==== | ||
| - | tomy@ittgroup.ee | + | info@ittgroup.ee |