X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2c806f6ceee42db9094eb11f3f32524b98440726..3c1b28cf5ff16fede61f2abf37d5616f3e661036:/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h
diff --git a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h
index c76e026d0..7149923ea 100644
--- a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h
+++ b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h
@@ -7,7 +7,7 @@
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -51,6 +51,18 @@
*
* Board specific LED driver header for the PJRC Teensy boards (http://www.pjrc.com/teensy/index.html).
*
+ * TEENSY:
+ *
+ * | Name | Color | Info | Active Level | Port Pin |
+ * | LEDS_LED1 | Green | General Indicator | High | PORTD.6 |
+ *
+ *
+ * TEENSY2:
+ *
+ * | Name | Color | Info | Active Level | Port Pin |
+ * | LEDS_LED1 | Green | General Indicator | Low | PORTD.6 |
+ *
+ *
* @{
*/
@@ -139,7 +151,7 @@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
- PORTD ^= LEDMask;
+ PIND = LEDMask;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;