Created
November 7, 2017 21:27
-
-
Save esmarr58/268014a3f48432fc54ecacca2aa43cd6 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
void InitUART( unsigned char baudrate ) { //Configurando la UART | |
UBRRL = baudrate; //Seleccionando la velocidad | |
UCSRB = (UCSRB | _BV(RXEN) | _BV(TXEN));//Habilitando la transmisión y recepción | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment