/* Name: main.c * Author: Nathan Williams * 2011 */ #include #include #define TRANSMIT //#define RECEIVE int main(void) { /* insert your hardware initialization here */ PORTA = _BV(PA1); //set high DDRA = _BV(PA1); //source current DDRB = _BV(PB0); //USART init //We want 9600, baud is set in a 12 bit register (high & low) UBRRH = 0; UBRRL = 12; UCSRA = (1<