firebase-arduino
firebase-arduino copied to clipboard
How to create child and sub child in firebase database from arduino ide
i am using FirebaseArduino.h library to send data on firebase database, but i have trouble in creating subchild for my project. we can create multiple child like, Firebase.set("Value1",0); Firebase.set("Value2",1); it creates, mydatabase |-Value1:0 //child |-Value2:1 //child
But i want to create like this mydatabase |-User1 //child | --Value1:0 //subchild | --Value2:1 //subchid
like we use command in Android Studio myRef.child("User1").setValue(0);
hey, I solved my problem writing Firebase.set("User1/Value1",0); Firebase.set("User1/Value2",1); solved my problem..
it creates |-User1 | --Value1:0 | --Value2:1
how can i get value of child
from this database these are bool values