From 461e0d3d8c82cc78d29d3115af3c417bb51bb50f Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 26 Oct 2010 21:32:45 +0900 Subject: ADD: keymap macro for human to read easier ADD: controller.h for controller board definition(teensy) ADD: debug toggle --- controller_teensy.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 controller_teensy.h (limited to 'controller_teensy.h') 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 -- cgit v1.2.3-24-g4f1b