Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nucleo_G431KB): add missing analog pin #2187

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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