coffeye / xpod

Hannigan lab's latest environmental monitoring platform
4 stars 3 forks source link

Initialize RTC is Inconvenient to Remember Everytime #5

Open pesm6540 opened 11 months ago

pesm6540 commented 11 months ago

To initialize the RTC, the steps are:

  1. Uncomment out the "RTC.adjust" line
  2. Upload firmware
  3. Comment the "RTCadjust" line
  4. Re-upload firmware

Any approach is fine, but this has caused issues when researchers forget this step - it means that the RTC will write data from 01-01-2000 or it will reset the clock to the upload time when the Arduino loses power.