Developing in C for the ATmega328P: struct

Where I demonstrate how to use the C Language data type struct and how to use it to simplify a program.

Introduction#

As programs become more complicated, its desirable to group common elements into a “block”, then debug that block and …

Developing in C for the ATmega328P: Example Code

Where I list all of the examples found in the examples folder for easy reference.

Introduction#

When using a specific function or while attempting to understand a C programming concept, it is helpful to see a working example. The examples below, (except …

Developing in C for the ATmega328: Using PROGMEM

Where I discuss how to use PROGMEM (storing values in Flash memory) for storage.

Introduction#

Storing message strings in AVR RAM can become prohibitively expensive, very quickly. With only 2KB of RAM, the Uno needs as much RAM available for dynamic …

Developing in C for the ATmega328P: Function - tone()

Where I describe the function - tone() as well as noTone() and how to play music on the Uno.

Introduction#

Using the function tone() allows us to play musical notes via the Uno and a speaker. Using tone() is more difficult than understanding the command. …