summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/pins.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tonokip_Firmware/pins.h')
-rw-r--r--Tonokip_Firmware/pins.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tonokip_Firmware/pins.h b/Tonokip_Firmware/pins.h
index 3849e4f..eb305cb 100644
--- a/Tonokip_Firmware/pins.h
+++ b/Tonokip_Firmware/pins.h
@@ -246,7 +246,16 @@
#define TEMP_1_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
+#ifndef SDSUPPORT
+// SPI for Max6675 Thermocouple (these pins are defined in the SD library if building with SD support).
+#define SCK_PIN 52
+#define MISO_PIN 50
+#define MOSI_PIN 51
+#define MAX6675_SS 53
+#else
+#define MAX6675_SS 49
+#endif