Add logic to only get the value on first read #22
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mikrokontrollersystemer-gruppe-4/mikrokontrollersystemer-prosjekt#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
uint16_t v_therm = thermistor_voltage_read();We should consider adding logic to only do calculations on the first read.
It is a bit odd to do it on both as the data could have changed between the first and second read, it is not likely, but a better way to do it nonetheless.