These are chat archives for SmingHub/Sming
Probably we hit a sdk issue.
In application you use analogWrite, in hardwarePWM that is setDuty(..);pwm_start;
This works to set a duty to a pin.
But when you do fast analogWrite();analogWrite(); the duties are not set correctly.
To temporary overcome I made the following additions to hardwarePWM.
So, in your drive(....) you can use either
The updates to HardwarePWM are available in the HardwarePWM_Setduty branch of SmingRTOS.
Can you use this in your application and feedback the results ?