2025-04-11 7:25 PM
Hello people,
I'm a newborn baby in this microcontroller world, I'm hoping in getting some help with my current project and know if it's possible to do it first of all. I did a program to control a BLDC motor in a simple Nucleo board using an ADC channel and PWM output. Then I bought an STM32F4291 and I'm trying to implement the gauge widget animation with the same purpose of controlling a BLDC. I have the Widget running thanks to a good video in YouTube but I'm struggling in adding the PWM output to the project. Does my PWM function needs to be in ScreenView.cpp , Model.cpp etc? Can I use the same value that I'm getting from the gauge? I don't exactly what to do, I did try the main loop but didn't work.
Thank You for your time!