- Navigate to
src/main.cpp - Change the file name from
main.cpptosrc.ino - Double-click (open with Arduino IDE)
- Select Teensy 4.0 as the board
- Upload
- Use
EEPROM.update()where available to save EEPROM writecycle. - Use
EEPROM.get()instead ofreadfunction to read multi-byte data. - Save ground altitude to EEPROM for reference only on mission start and not on recovery.
- Avoid unnecessary code duplication in file name determination.
- Combine packet-related variables into struct (Experimental)