summaryrefslogtreecommitdiff
path: root/controller_teensy.h
diff options
context:
space:
mode:
Diffstat (limited to 'controller_teensy.h')
-rw-r--r--controller_teensy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/controller_teensy.h b/controller_teensy.h
new file mode 100644
index 000000000..00107079c
--- /dev/null
+++ b/controller_teensy.h
@@ -0,0 +1,10 @@
+#ifndef TEENSY_H
+#define TEENSY_H 1
+
+// for Teensy/Teensy++ 2.0
+#define DEBUG_LED 1
+#define DEBUG_LED_CONFIG (DDRD |= (1<<6))
+#define DEBUG_LED_ON (PORTD |= (1<<6))
+#define DEBUG_LED_OFF (PORTD &= ~(1<<6))
+
+#endif