Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 07d9790

Browse files
committed
examples/FirebaseNeoPixel: fix begin call and rebase
1 parent c1547e2 commit 07d9790

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/FirebaseNeoPixel_ESP8266/FirebaseNeoPixel_ESP8266.ino

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
#define WIFI_SSID "SSID"
2828
#define WIFI_PASSWORD "PASSWORD"
2929

30-
const int PIN=13;
31-
Adafruit_NeoPixel strip = Adafruit_NeoPixel(32, PIN, NEO_GRB + NEO_KHZ800);
32-
3330
const int pixelPin = 13;
3431
Adafruit_NeoPixel strip = Adafruit_NeoPixel(32, pixelPin, NEO_GRB + NEO_KHZ800);
3532

@@ -51,7 +48,7 @@ void setup() {
5148
Serial.print("connected: ");
5249
Serial.println(WiFi.localIP());
5350

54-
Firebase.begin("example.firebaseio.com", "secret_or_token");
51+
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
5552
}
5653

5754

0 commit comments

Comments
 (0)