Bare metal C-programming code for blinking on board LED and UART.
- Install the
avr-gcctoolchain:sudo apt-get updatesudo apt-get upgrade -ysudo apt-get install gcc-avr binutils-avr avr-libcsudo apt-get install avrdude
- Clone this repo.
- Go to the project directory of interest: eg. LED-Blink-UART
- Open this directory in the Linux Terminal.
- Connect the Arduino to your PC.
- Run
make. - The code will get flashed into Arduino Memory.
- You should be able to see the onboard led flashing.
- Configure serial monitor on VS Code or similar to test the UART communication.