#include #include #define F_CPU 1000000 void USART_Init(void) { UBRRL = 25; // sets 1Mhz, 2400bps, .2% error UCSRB = (1<= 128) RSSI_dBm =((RSSI_dec - 256)/2 - 74); else RSSI_dBm =((RSSI_dec)/2 - 74); if(RSSI_dBm<(-107)) { PORTC|=(1<