Welcome to the AVR Programming Course! This repository contains materials and exercises to help you learn how to program AVR microcontrollers using Visual Studio Code and the MPLABX Extension.
- Prerequisites
- Cloning the Course
- Building and Running Your First Task
- Useful links
- Pinout diagram
- Acknowledgments
This course requires Visual Studio Code with the MPLABX Extension. If you haven't installed Visual Studio Code yet, follow the instructions below based on your operating system.
Download Visual Studio Code and install it.
If you use Homebrew, install Visual Studio Code using:
brew install --cask visual-studio-codeAlternatively, you can download VS Code from the official website.
You can download VS Code from the official website or install it using your distribution’s package manager.
To get started, clone this repository using Git:
git clone https://github.com/oveljosland/microchip-avr-course.gitAlternatively, you can download the repository as a .ZIP file and extract it to your desired location.
- Open Visual Studio Code.
- Click on File → Open Folder, then select a task folder (e.g.,
blink). - Build the project using the shortcut:
- Windows/Linux:
Shift + Ctrl + B - macOS:
Shift + ⌘ + B
- Windows/Linux:
- Run the program using:
- Windows/Linux:
Ctrl + F5 - macOS:
Control + F5
- Windows/Linux:
- Datasheet
- Hardware User Guide
- TB3245 - Using 12-Bit ADC for Conversions, Accumulation, and Triggering Events
- TB3235 - Using 10-Bit DAC for Generating Analog Signals
This project uses the following open-source libraries:
- SSD1306 OLED Driver by Marián – Licensed under the MIT License.
- kissFFT by Mark Borgerding – Licensed under the BSD-3-Clause License.
For more details, see the THIRD_PARTY_LICENSES file.
