Created
December 5, 2010 16:24
-
-
Save an-roo/729214 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if defined(__AVR_ATmega324P__) | |
| /* Onboard LED is connected to pin PB5 in Arduino NG, Diecimila, and Duemilanove */ | |
| #define LED_DDR DDRB | |
| #define LED_PORT PORTB | |
| #define LED_PIN PINB | |
| #define LED PINB1 | |
| /* Ports for soft UART */ | |
| #ifdef SOFT_UART | |
| #define UART_PORT PORTD | |
| #define UART_PIN PIND | |
| #define UART_DDR DDRD | |
| #define UART_TX_BIT 1 | |
| #define UART_RX_BIT 0 | |
| #endif | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment