Nucleo Backend Script. More...
Functions | |
| def | Lab4.getInternalTemp (adcall) |
| Temperature From Nucleo. More... | |
| def | Lab4.main () |
| Main Program. More... | |
Nucleo Backend Script.
This script enables the Nucleo to collect data from its internal and connected MCP9808 temperature sensors. Data is collected once every minute and written to a .CSV file on the device. Once started the program will run until the user presses ^C. After 12 hours all data will be overwritten so that the data file doesn't overflow the chips limited onboard storage.
| def Lab4.getInternalTemp | ( | adcall | ) |
Temperature From Nucleo.
Grabs the internal temperature of the board that we are using and stores it in the variable "temp". Returns that value when called
| def Lab4.main | ( | ) |
Main Program.
Calls the mcp9808 class as well as the getInternalTemp function at set time intervals and compares them. It then stores those values, as well as the time, next to each other in a CSV file for later comparison as desired.