Skip to content

Commit

Permalink
fix(nucleo_G431KB): add missing analog pin
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Nov 16, 2023
1 parent e283b8c commit 4e90a1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const uint32_t analogInputPin[] = {
18, // A4
19, // A5
20, // A6
21 // A7
21, // A7
3 // A8
};

// ----------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define PA10 0
#define PA9 1
#define PA12 2
#define PB0 3
#define PB0 PIN_A8
#define PB7 4
#define PA15 5
#define PB6 6
Expand Down Expand Up @@ -78,7 +78,7 @@
// This must be a literal
#define NUM_DIGITAL_PINS 25
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
#define NUM_ANALOG_INPUTS 8
#define NUM_ANALOG_INPUTS 9

// On-board LED pin number
#ifndef LED_BUILTIN
Expand Down

0 comments on commit 4e90a1a

Please sign in to comment.