-
Notifications
You must be signed in to change notification settings - Fork 1k
Cannot use PG9 as digital pin with NUCLEO-H743ZI2 #1276
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
Comments
you're right it should be 100. |
Thank you very much. Note also that Best regards, Pierre Molinaro |
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Feb 12, 2021
Fixes stm32duino#1276 and stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
27 tasks
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Feb 17, 2021
Fixes stm32duino#1276 and stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 15, 2021
Fixes stm32duino#1276 and stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 16, 2021
Fixes stm32duino#1276 and stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
valeros
pushed a commit
to valeros/Arduino_Core_STM32
that referenced
this issue
Mar 16, 2021
Fixes stm32duino#1276 and stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
27 tasks
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 22, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 23, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 24, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 24, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 24, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 28, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 29, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 30, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 30, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Mar 30, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 2, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 8, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 9, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 9, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 9, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 12, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 14, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 15, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Apr 15, 2021
Fix stm32duino#1276 and Fix stm32duino#1277 Signed-off-by: Frederic Pillon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I try to use PG9 as digital output :
pinMode (PG9, OUTPUT) ;
insetup
;digitalWrite (PE9, HIGH) ;
has no effect, pin is not a high level digital output.Bug Fix
I think the bug is in the
~/Library/Arduino15/packages/STM32/hardware/stm32/1.9.0/variants/NUCLEO_H743ZI/variant.h
file.Line 174 is :
#define NUM_DIGITAL_PINS 99
, and line 164 is#define PG9 99
.PG9
is the last pin, soNUM_DIGITAL_PINS
should be equal to100
.So changing the line 174 to
#define NUM_DIGITAL_PINS 100
solves the bug.Note
I think the line 176
#define NUM_DIGITAL_PINS 97
(for NUCLEO_H743ZI) should be also changed to#define NUM_DIGITAL_PINS 98
, for the same reason : last pin isPG12
(#97).Best regards,
Pierre Molinaro
The text was updated successfully, but these errors were encountered: