Skip to content

Commit

Permalink
Added define of pins for digital
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwelltoo authored Mar 22, 2023
1 parent 5efdf2d commit 9b5a964
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions variants/XIAO_m0/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ static const uint8_t DAC0 = PIN_DAC0;

#define ADC_RESOLUTION 12

#define D0 (0u)
#define D1 (1u)
#define D2 (2u)
#define D3 (3u)
#define D4 (4u)
#define D5 (5u)
#define D6 (6u)
#define D7 (7u)
#define D8 (8u)
#define D9 (9u)
#define D10 (10u)

/*
* SPI Interfaces
*/
Expand Down

0 comments on commit 9b5a964

Please sign in to comment.