]> git.gir.st - tmk_keyboard.git/blob - protocol/usb_hid/leonardo_led.h
Squashed 'tmk_core/' content from commit 05caacc
[tmk_keyboard.git] / protocol / usb_hid / leonardo_led.h
1 #ifndef LEONARDO_LED_H
2 #define LEONARDO_LED_H
3
4 // Leonardo "TX" LED for debug
5 #define LED_TX_INIT (DDRD |= (1<<5))
6 #define LED_TX_ON (PORTD &= ~(1<<5))
7 #define LED_TX_OFF (PORTD |= (1<<5))
8 #define LED_TX_TOGGLE (PORTD ^= (1<<5))
9
10 #endif
Imprint / Impressum