MyTim->setMode(channel, TIMER_OUTPUT_COMPARE_PWM1, pin);//MyTim->setPrescaleFactor(8); // Due to setOverflow with MICROSEC_FORMAT, prescaler will be computed automatically based on timer input clockMyTim->setOverflow(100000, MICROSEC_FORMAT);//10000 microseconds = 10 millisecondsMyTim->setCa...
HardwareTimer is used as time base (and not as PWM output generator), and signal generation will be achieved by software. Only one single instance of timer is used : TIMER_SERVO. TIMER_SERVO can be redefined with usual methods: variant.h, build_opt.h Up to 12 servo motors can be contr...
Hi Frederic, I see in your examples that you're able to define HAL_ADC_Msp_Init() conserving, at the same time, the ability to use all the "builtin" Arduino functions such, for example, Serial.print(). I would need to do the same in PlatformIO, using your official STM32 Core Ardu...
Using previously compiled file: C:\Users\michael\AppData\Local\Temp\build6e0206c4052a2b088e47e64ac9275fbc.tmp\core\libmaple\timer.c.o Using previously compiled file: C:\Users\michael\AppData\Local\Temp\build6e0206c4052a2b088e47e64ac9275fbc.tmp\core\libmaple\timer_f1.c.o Using previousl...