File tree Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change 6868
6969// Analog pins
7070// -----------
71- #define PIN_A0 (15u)
72- #define PIN_A1 (16u)
73- #define PIN_A2 (17u)
74- #define PIN_A3 (18u)
75- #define PIN_A4 (19u)
76- #define PIN_A5 (20u)
77- #define PIN_A6 (21u)
78- static const uint8_t A0 = PIN_A0 ;
79- static const uint8_t A1 = PIN_A1 ;
80- static const uint8_t A2 = PIN_A2 ;
81- static const uint8_t A3 = PIN_A3 ;
82- static const uint8_t A4 = PIN_A4 ;
83- static const uint8_t A5 = PIN_A5 ;
84- static const uint8_t A6 = PIN_A6 ;
71+ #define PIN_A0 (15u)
72+ #define PIN_A1 (16u)
73+ #define PIN_A2 (17u)
74+ #define PIN_A3 (18u)
75+ #define PIN_A4 (19u)
76+ #define PIN_A5 (20u)
77+ #define PIN_A6 (21u)
78+ #define PIN_DAC0 (15u)
79+
80+ static const uint8_t A0 = PIN_A0 ;
81+ static const uint8_t A1 = PIN_A1 ;
82+ static const uint8_t A2 = PIN_A2 ;
83+ static const uint8_t A3 = PIN_A3 ;
84+ static const uint8_t A4 = PIN_A4 ;
85+ static const uint8_t A5 = PIN_A5 ;
86+ static const uint8_t A6 = PIN_A6 ;
87+ static const uint8_t DAC0 = PIN_DAC0 ;
8588#define ADC_RESOLUTION 12
8689
8790// SPI Interfaces
You can’t perform that action at this time.
0 commit comments