Created
November 7, 2017 21:27
-
-
Save esmarr58/dae7b840d600c000b61727e867eece4c to your computer and use it in GitHub Desktop.
This file contains 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
unsigned char ReceiveByte( void ){ //Función para recibir un byte | |
while ( !(UCSRA &(1 << RXC)) );//Esperar la recepción | |
return UDR; //Retornar el dato tomado de la UART | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment