본문 바로가기

OLD_달려라/캡스톤 디자인(졸업작품)7

Arduino ] 6시간 누적 강수량 값 파이어베이스에 올리는 Logic int rainCheckCnt; // 누적 강수량 변수 대입 count 값 int rainStartHour; int rainStoreCheckHour; 기존 파이어베이스 값에도 강수량 값 '- OR 0'삽입 if(접촉 > 100){ rainCheckCnt++; rainStartHour = 현재시간; if (rainCheckCnt == 1){ if(rainStartHour >= 18){ rainStoreCheckHour = (rainStartHour + 6) - 24; }else{ rainStoreCheckHour = rainStartHour + 6; } } 파이어베이스 업로드(+ 강수량 값 '-'삽입) if(rainStartHour =< rainStoreCheckHour){ if(비접촉1 == 1 && .. 2020. 10. 27.
Arduino ] Read RealTime Database from Firebase getInt and setInt · Issue #35 · mobizt/Firebase-ESP8266 Hi can someone help me to get int from firebase. This is code i am using for this R = Firebase.getInt(firebaseData, "DomeLED/Color/r"); Where R is my global variable of Int type, firebase... github.com 아래의 코드로 Firebase에 축적된 데이터를 Arduino로 읽어올 수 있습니다. 저는 위의 git에 나온 라이브러리를 사용했습니다. ( mobizt / Firebase-ESP8266 ) if (Firebase.getInt(firebaseData,.. 2020. 10. 5.
Arduino ] Read data After Firebase Connection 갑자기 잘 되던 라이브러리가 작년부터 Firebase Connection Error를 일으키더니... 연결이 안 된다. 다행히 다른 라이브러리를 찾아 연결시켰지만, 새로운 라이브러리는 Firebase path값을 지정해서 데이터를 불러오지 못 한다...ㅠㅠㅠ 오늘 다시 한 번 시도해봐야지... How to Fetch Data From a Firebase Database on NodeMCU How to Fetch Data From a Firebase Database on NodeMCU: For this instructable, we'll be fetching data from a database in Google Firebase and fetch it using a NodeMCU for further pa.. 2020. 10. 5.
Firebase에서 아두이노로 데이터 읽어오는 방법 2020. 9. 23.