Write the main State class, as well as its functions that would run in the setup() and main() loop, that would encompass the flight computer's state and would handle all of the sensors. All the sensors would be objects within it, and the State class interacts with them and the SD Card to interface between them, as well as query the sensors for data and store it.
Write the main State class, as well as its functions that would run in the
setup()
andmain()
loop, that would encompass the flight computer's state and would handle all of the sensors. All the sensors would be objects within it, and the State class interacts with them and the SD Card to interface between them, as well as query the sensors for data and store it.