summaryrefslogtreecommitdiff
path: root/controller_teensy.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-26 21:32:45 +0900
committertmk <nobody@nowhere>2010-10-26 21:32:45 +0900
commit461e0d3d8c82cc78d29d3115af3c417bb51bb50f (patch)
tree844b28eed904f72aa18873f25de435379fa1bad3 /controller_teensy.h
parent7a336b05ec2d1056fe2206ae218199c66e8980da (diff)
ADD: keymap macro for human to read easier
ADD: controller.h for controller board definition(teensy) ADD: debug toggle
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 0000000000..00107079cd
--- /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