
components
Hardware Components
details
Dummy code:
Setup:
- clear logfile if button pressed within 2 sec. after startup
- write headers to CSV file
- optional: wait for button pressed to start logging
Loop:
- store timestamp
- make 30 readings, drop first five, calculate average (to filter jitter)
- calculate celsius value
- write to array
- repeat this for each sensor
- make comma separated string out of array
- if countdown is elapsed, write result to logfile
- write each result to LCD display
- wait until interwal time is elapsed
- start over again
documents
COMMENTS