Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created November 7, 2017 21:29
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/c935d44d0eb38ceb86704b8553e53c8c to your computer and use it in GitHub Desktop.
Save esmarr58/c935d44d0eb38ceb86704b8553e53c8c to your computer and use it in GitHub Desktop.
int main (void) {
InitUART( 51 ); //Inicializar la UART
while(1){
dato=ReceiveByte(); //Recibir un dato de la UART
TransmitByte(dato); //Mandar el mismo dato
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment