acrandal / GU-Rocketry-ATA-Module

ATA (Alternative To Aluminium) is a 1U cubesat form factor data telemetry and LoRA transmission board for the Gonzaga ASME 10k ft. competition rocket.
GNU General Public License v3.0
4 stars 0 forks source link

SD card: Timestamps #1

Open acrandal opened 2 years ago

acrandal commented 2 years ago

Every X # of seconds (either 1 or 10 or so?) - snag the time from the GPS receiver (if it has one) and write it out as a unix epoch to the SD card so we know which "run" this is.

This avoids needing to do file rotation on the SD card.

The alternative is to only stamp the card once you have a GPS time? Not cool.... hrm. Maybe I should rotate anyway in addition to the timestamps?

Each line will get a millis() too.