Skip to content

arduino-c/uart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UART

UART driver for Arduino Uno

###Usage

  • Set up your baudrate definition in uart.c
#define BAUDRATE 9600UL
  • Write your code, e.g. in main.c
...
#include <uart.h>

int main() {

  char c;
  c = ANY_UART_DATA_BYTE;
  
  uart_write(&c, 1);
  uart_read(&c, 1);
  
  return 0;
}

About

UART driver for Arduino Uno

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages