Where I illustrate developing code for the ATmega328P using the new Standard C framework.
Sources#
- Github: Programming the Arduino Uno in C
- Microchip AVR ATmega328 Go to this page for the datasheet, you will need it.
- Definitive UNO pinout
- avr-libc Standard AVR C Library
Introduction#
The Github repository referenced above is a new Standard C framework which mimics a subset of the Arduino framework. [Note: Standard C refers to using a standardized version of C, in this case, avr-gcc (ANSI C) as compared to Arduino C++, which is a combination of C, C++ and Arduino classes and templates. Many universities have an expectation of their students to understand C in the context of ANSI C.] The intent of the repository is to provide the capability for someone to use Standard C in programming an Arduino Uno (or similar type of microcontroller.)
