safwan092

Untitled

Dec 28th, 2022
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. void loop()
  2. {
  3. // Firebase.ready() should be called repeatedly to handle authentication tasks.
  4.  
  5. if (millis() - dataMillis > 5000 && Firebase.ready())
  6. {
  7. dataMillis = millis();
  8. String path = millis()/1000;
  9. Firebase.setInt(fbdo, path, count++);
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment