aboutsummaryrefslogtreecommitdiff
path: root/tk-attiny.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2015-10-18 17:09:10 -0600
committerSelene ToyKeeper2015-10-18 17:09:10 -0600
commit8ae82aa0bf6280674216deff2370561e9ba996e9 (patch)
tree0b4eb48d1dcda163b55b7991e2b4aeec71f98869 /tk-attiny.h
parentmerged TK refactoring effort and bistro project from sandbox: (diff)
parentRemoved the need to specify header file paths. (diff)
downloadanduril-8ae82aa0bf6280674216deff2370561e9ba996e9.tar.gz
anduril-8ae82aa0bf6280674216deff2370561e9ba996e9.tar.bz2
anduril-8ae82aa0bf6280674216deff2370561e9ba996e9.zip
Merged many updates from tiny25/bistro branch.
Developed most of "bistro" firmware, based on blf-a6 but greatly improved. Made a simple program to blink out temperature measurements on tiny25. Added pseudo-random generator and strobe. Re-organized some battcheck and otc measurement data. Removed the need to specify paths to tk-*.h headers.
Diffstat (limited to '')
-rw-r--r--tk-attiny.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tk-attiny.h b/tk-attiny.h
index 4fee640..6390416 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -70,6 +70,9 @@
#define ADC_DIDR ADC1D // Digital input disable bit corresponding with PB2
#define ADC_PRSCL 0x06 // clk/64
+//#define TEMP_DIDR ADC4D
+#define TEMP_CHANNEL 0b00001111
+
#endif // FET_7135_LAYOUT
#ifdef FERRERO_ROCHER_LAYOUT