Hi, I am trying to make a project to drive ESCs for a drone, for the same I am trying to generate PWM pulses using the STM32 TIM2_CHx, but it does not seem to work as my ESCs are not responding.
My code is as below ...
Search found 3 matches
- Sun Jan 26, 2025 12:58 pm
- Forum: Projects
- Topic: PWM not working on STM32F401CEU6
- Replies: 1
- Views: 655
- Fri Jan 24, 2025 4:50 am
- Forum: General discussion
- Topic: Compilation error: base operand of '->' is not a pointer
- Replies: 3
- Views: 535
Re: Compilation error: base operand of '->' is not a pointer
Yes it works, thank you so much.
I am new to STM32s and this forum I will take care not to post in wrong forum.
I am new to STM32s and this forum I will take care not to post in wrong forum.
- Thu Jan 23, 2025 2:52 pm
- Forum: General discussion
- Topic: Compilation error: base operand of '->' is not a pointer
- Replies: 3
- Views: 535
Compilation error: base operand of '->' is not a pointer
Hi guys, I am using an STM 32 F401CEU6 Black Pill Board, in this I am trying to build a program that triggers an interrupt when it detects a state change on pin PB10 of the STM.
BELOW IS MY CODE ...
BELOW IS MY CODE ...