Usually that while loop executes a few times, the screen updates, and the program continues, but not when it freezes. The system will freeze during the first wire->endTransmission() that is called in the screen library. Once the K30 is attached, the system will run fine, recording and displaying data from all sensors for an indeterminate amount of time before "freezing." The every-so-often freeze happens during a call to my write_to_screen() function. Problems happen only once I attach the K30. Everything works fine and essentially forever when the K30 is not attached.Ĭode is attached. The system essentially just pulls measurements from these sensors every few seconds (adjustable), and writes them to Serial, to the OLED, and to an SD Card. arduino library: GitHub - FirstCypress/K30_CO2_I2C_Arduino: Arduino library for connecting a K30 CO2 sensor module over I2C.device: SparkFun GPS Breakout - XA1110 (Qwiic) - GPS-14414 - SparkFun Electronics.arduino library: GitHub - sparkfun/SparkFun_I2C_GPS_Arduino_Library: Library for reading and controlling MT3333 and MT3339 based GPS modules over I2C.I've got a device running with this architecture:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |