This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
examples/FirebaseNeoPixel_ESP8266 Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ void loop() {
6666 }
6767
6868 for (int i = 0 ; i < strip.numPixels (); i++) {
69- int pixel = pixels.getInt (" pixel" + i);
70- Serial.println (pixel);
69+ int pixel = pixels.getInt (String (" pixel" ) + i);
7170 strip.setPixelColor (i, pixel);
7271 }
7372 strip.show ();
73+ delay (200 );
7474}
Original file line number Diff line number Diff line change 2020#include " third-party/arduino-json-5.3/include/ArduinoJson.h"
2121
2222#ifndef FIREBASE_JSONBUFFER_SIZE
23- #define FIREBASE_JSONBUFFER_SIZE 200
23+ #define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE ( 32 )
2424#endif // FIREBASE_JSONBUFFER_SIZE
2525
2626/* *
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ FIREBASE_DIR=..
1818GTEST_DIR =googletest/googletest
1919ARDUINOJSON_DIR =../src/third-party/arduino-json-5.3
2020
21- FIREBASE_SRCS =${FIREBASE_DIR}/src/FirebaseObject.cpp
21+ FIREBASE_SRCS =${FIREBASE_DIR}/src/FirebaseObject.cpp\
22+ ${FIREBASE_DIR}/src/FirebaseObject.h
2223GTEST_SRCS =${GTEST_DIR}/src/gtest-all.cpp
2324ARDUINOJSON_SRCS =${ARDUINOJSON_DIR}/src/JsonBuffer.cpp\
2425 ${ARDUINOJSON_DIR}/src/JsonObject.cpp\
@@ -39,7 +40,7 @@ SRCS=FirebaseArduino_test.cpp\
3940
4041OBJS=${SRCS:.cpp =.o}
4142
42- CXXFLAGS =-I../src -Igoogletest/googletest/include -Igoogletest/googletest -std=c++11
43+ CXXFLAGS =-I../src -Igoogletest/googletest/include -Igoogletest/googletest -std=c++11 -g
4344LDFLAGS =-lpthread
4445
4546all : check
You can’t perform that action at this time.
0 commit comments