36#include <util/delay.h>
47#define BLINK_TIME_MS 1000
67 _delay_ms(BLINK_TIME_MS);
70 _delay_ms(BLINK_TIME_MS);
void blink_led(void)
Call this function in the loop of the main() routine to blink the LED.
void init_led(void)
Call this function once on entry of main() routine to configure settings and initialise the LED for u...
Driver for example application from Getting Started with Blink. This file also serves to demonstrate ...
#define LED_DDR
Defines the Data Direction Register for the GPIO connected to our LED.
#define LED_PORT
Defines the AVR port we have wired our LED to.
#define LED_GPIO
Defines the GPIO number the LED is wired to.
Definitions for pin mapping (for CCS81 gas sensor)