stm32F722ze, ValueError: Pin(PC13) doesn't exist #16148
Unanswered
ghost
asked this question in
STM32 / Pyboard
Replies: 1 comment 3 replies
-
What dev board is your STM32 on? I use the WeAct BlackPill STM32F411 and PC13 is used as the anti-tamper pin. I failed when I accidentally tried to use it for something else. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import pyb
def main():
#configure pb0 as an output pin push-pull
green_led = pyb.Pin('D33', mode =pyb.Pin.OUT_PP)
main()
I am using stm32f722ze and trying to write a program to control led using push button but I always says value error. With the help of user manual figure out the arduino mapping for PC0 but cannot find for PC13. Is there any way I will be able to execute this program. I am using Thonny IDE. Thanks
Beta Was this translation helpful? Give feedback.
All reactions