You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A blinking LED project using Uno R3, AVR LibC and C language.
$\textnormal{System Design}$
$\textnormal{Local Development}$
This works well in Linux based system.
Install the necessary tools inorder to interact
with Arduino without the IDE.
# Standard library for Atmel AVR devices.# This contains most of the features required by the ISO C standard.
sudo apt install avr-libc
# A program for downloading and uploading on-chip memories of Atmel AVR Microcontroller.
sudo apt install avrdude
# A program to assemble and manipulate binary and object files for the AVR architecture.
sudo apt install binutils-avr
# GCC C cross compiler for AVR.
sudo apt install gcc-avr
Take note that the library headers might be placed here /usr/lib/avr/include.
Run the command below to execute the commands specified in Makefile.
# Change directory to the root of the project.# Execute the MakeFile and upload in the Arduino microcontroller.
make
$\textnormal{Requirements}$
Electronic components and board used in this project.
Arduino UNO R3 (x1)
USB 2.0 Cable Type A/B (x1)
Breadboard (x1)
LED Red 5mm (x1)
Resistor 220 ohm (x1)
Male to Male Jumper Wire (x2)
Software used in this project.
Linux Ubuntu 22.04
Gnome Terminal
Neovim / VSCode
GCC / CLang (For Text Editor Support and Autocomplete)
avr-libc
avrdude
binutils-avr
gcc-avr