/** * RFIDTest * * Takes the serial data sent to it from the RFID on the RXD pin and output it * over the TXD pin. */ #include #include void RFID_Initialize() { // Disable Interrupts for the UART initialization. /** * Refer to data sheet for correct calculation for the baud clock. * This must be changed everytime the main oscillator is changed. */ UBRRH = 0; UBRRL = 12; // 103 // Set the frame format: 8 data, no parity, 1 stop, no flow control. UCSRC |= (1<