Skip to content

Instantly share code, notes, and snippets.

View marwanmakm's full-sized avatar
🚀
Just Logic!

Marwan Makarem marwanmakm

🚀
Just Logic!
View GitHub Profile
@gshrikant
gshrikant / uart.c
Last active November 16, 2022 10:19
Routines for asynchronous UART communication on the ATMega328P
/*
* uart.c
*
* Asynchronous UART example tested on ATMega328P (16 MHz)
*
* Toolchain: avr-gcc (4.3.3)
* Editor: Eclipse Kepler (4)
* Usage:
* Perform all settings in uart.h and enable by calling initUART(void)
* Compile: