EngineerGuy314 / pico-WSPRer

Minimalist WSPR tracker for pico-balloons utilizing Raspberry Pi Pico (or Rp2040) as the RF generator (aka The Cheapest Tracker In The World™). More info: [WIKI](https://github.com/EngineerGuy314/pico-WSPRer/wiki/pico%E2%80%90WSPRer-(aka-Cheapest-Tracker-in-the-World%E2%84%A2))
MIT License
50 stars 9 forks source link

temp and voltage wraparound #48

Closed EngineerGuy314 closed 4 weeks ago

EngineerGuy314 commented 1 month ago

change the wraparound code for temperatue, voltage AND sat_count to use modulo instead of a single wrap (in case ADC gives really bogus values)

EngineerGuy314 commented 4 weeks ago

i added proper (modulo) rollover to temperature in WSPRBeacon.c for celsius. voltage was already being rolled over there.

I removed the redundant and risky rollover code in main.c