-
I want to start on a new project. I would like to use the hardware timer to send a signal, so I think PWM_FullConfiguration.ino will be a good starting point. However I would like it to be an open drain output. The example states: So will it work if I would add this to the code?
If so, where to add it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @ericwoud Not the one linked to STM32Examples: So you should ask on the forum in the dedicated libmaple core section: |
Beta Was this translation helpful? Give feedback.
Hi @ericwoud
it seems you used this core: https://github.com/rogerclarkmelbourne/Arduino_STM32
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/341cd894516f747f14108de5da593dad99900ae0/STM32F1/cores/maple/libmaple/gpio_f1.c#L124
Not the one linked to STM32Examples:
https://github.com/stm32duino/Arduino_Core_STM32
which do not have
gpio_set_mode
So you should ask on the forum in the dedicated libmaple core section:
https://www.stm32duino.com/viewforum.php?f=63