aboutsummaryrefslogtreecommitdiff
path: root/src/temperature.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-04-12 18:51:11 +0530
committerAkshay Nair <phenax5@gmail.com>2026-04-12 19:44:28 +0530
commit7a973773bfb948ebc5a3d8bbbea7035896795e65 (patch)
tree139c9ae2cf79a6d3c03605d45aa686a405079b46 /src/temperature.h
parent9ed512b6863311ff53f07b76f6b679fa1ec6a9c9 (diff)
downloadtemperature-sensor-attiny84a-7a973773bfb948ebc5a3d8bbbea7035896795e65.tar.gz
temperature-sensor-attiny84a-7a973773bfb948ebc5a3d8bbbea7035896795e65.zip
Add error correction for temp + cleanup
Diffstat (limited to '')
-rw-r--r--src/temperature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/temperature.h b/src/temperature.h
index 31fa92a..c15fe22 100644
--- a/src/temperature.h
+++ b/src/temperature.h
@@ -4,6 +4,8 @@
#define THERMO_PORT PORTA
#define THERMO_DDR DDRA
+#define THERMO_RESOLUTION 0.25
+
#define SPI_DELAY_US 10
void temperature_init(void);