Commit 1b624a94 authored by Leandro Lanzieri's avatar Leandro Lanzieri

En el echo de prueba uart se envia lo recibido

parent 3d414ea9
......@@ -47,9 +47,10 @@ int main (void) {
}
ISR(USART_RXC_vect) {
if(recibirByteUART() == 0xDA)
{
LED ^= 1;
transmitirByteUART(data);
}
data = recibirByteUART();
if(data == 0xDA)
{
LED ^= 1;
transmitirByteUART(data);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment