firmware  v0.1.2
Chromation Spectrometer Dev-Kit
BiColorLed-Hardware.h
1 #ifndef _BICOLORLED_HARDWARE_H
2 #define _BICOLORLED_HARDWARE_H
3 #include <stdint.h>
4 #include <avr/io.h> // includes iom328p.h for hardware i/o values
5 #include "BiColorLed.h"
6 
7 bicolorled_ptr BiColorLed_ddr = &DDRC; // controls if pin is input or output
8 bicolorled_ptr BiColorLed_port = &PORTC; // controls if pin outputs HIGH or LOW
9 bicolorled_num led_0 = PINC0;
10 bicolorled_num led_1 = PINC1;
11 
12 #endif // _BICOLORLED_HARDWARE_H
uint8_t const bicolorled_num
Indicator LED numbers in the JSON file are not necessarily the same as the corresponding bit number i...
Definition: BiColorLed.h:10