Closed ABOSTM closed 4 years ago
https://github.com/stm32duino/STM32Examples/issues/20#issuecomment-589937011
Seriously? In loop there is no reference to
MyTim
and this is normal as it is a local one to Setup. Same forchannel_a
,channel_b
weary I could not spent my time to correct and explain how to code. This is purely C++ coding.
Sorry for the inconvenience.
From my point of view Arduino is an platform for beginners to get in touch with programming MCU's. There are some good examples in the HardwareTimer library, but not showing basic things to work with PWM. So you invested much time in a very good idea to make this HardwareTimer library. Thank you very much for doing it! Users can master complicate issues with it. But the beginners fail with simple things. That's all.
It could if you read the user manual as I already said.
When some beginners have to read all the manuals first before they can do something, they will abort. It is much more fun to start with an example that works and then go deeper and deeper.
It would be fine if the old programming modes would be still available and CubeProgrammer will be additional. It can't be shipped with stm32duino - but the other small tools where no problem.
No, as this not support all series and are not actively maintained. Again as said, you can use bootloader to flash over DFU or customize you configuration as other do. Or buy a Nucleo F103 RB which allow you to upload thanks a simple copy/past on the mass storage.
This are good tips that i did not find up to now. Thanks for it!
I lock this topic as issue should not be used for this kind of discussion --> forum.
Sorry again - I don't want to annoy you. I just want to explain the point of view of a beginner and that STM32Duino seems more to address experts. That was not clear.
I just want to explain the point of view of a beginner and that STM32Duino seems more to address experts.
HardwareTimer is not oriented for beginner. Beginner follows the Arduino API. So to make a PWM use AnalogWrite with a pin with PWM capabilities that's all.
And if you want go further, read the wiki and join the forum to get help from STM32duino community.
HardwareTimer examples: add a note to check pin PWM capability
Fixes #20