4 Configuring the Library

Configure the library with only one file, “atmel_led_device_config.h”. This file contains pre-compilation directives to compile the source required only for the selected AVR and interface. The default configuration file provided with the library is set up for the Atmel ATtiny40 with SPI interface. The configuration file settings for different AVR microcontrollers are explained in this section.