Create a wrapper class around wrapper classes for each individual sensor. The tree diagram looks like this This should be its own library aka use header files. Header files should only contain prototyping and structs. The respective cpp file contains the implementation of the functions. https://www.simplilearn.com/tutorials/cpp-tutorial/guide-to-understand-cpp-header-files#:~:text=What%20Are%20C%2B%2B%20Header%20Files,processed%20prior%20to%20the%20compilation. Sensors >-Sensor >> -Accelerometer >-Sensor >>-Gyroscope >-Sensor >>-Barometer etc.. This code should be on a new branch of the teensy flight computer repository.
Create a wrapper class around wrapper classes for each individual sensor.
The tree diagram looks like this
This should be its own library aka use header files.
Header files should only contain prototyping and structs.
The respective cpp file contains the implementation of the functions.
https://www.simplilearn.com/tutorials/cpp-tutorial/guide-to-understand-cpp-header-files#:~:text=What%20Are%20C%2B%2B%20Header%20Files,processed%20prior%20to%20the%20compilation.
Sensors
etc..
This code should be on a new branch of the teensy flight computer repository.