Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created November 7, 2017 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmarr58/9c46399d62ec06dcbddc133a5738d075 to your computer and use it in GitHub Desktop.
Save esmarr58/9c46399d62ec06dcbddc133a5738d075 to your computer and use it in GitHub Desktop.
void TransmitByte( unsigned char data ) //Funcion para transmitir dato
while ( !( UCSRA &(1 << UDRE)) ); //Esperar transmision completa
UDR = data; //Depositar el dato para transmitirlo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment