Andrzej wrote:
Im trying to initialize PWM in new SDK esp_iot_sdk_v1.1.0_15_05_26
In file pwm.h I found definion
void pwm_init(uint32 period, uint32 *duty,uint32 pwm_channel_num,uint32 (*pin_info_list)[3]);
but in documentation is definion
void pwm_init(uint16 freq, uint8 *duty)
I can't find definion of pin_info_list and all my attempts end in looped restarting module.
Could you send me a sample code for using PWM in new SDK?
Thank you in advance and best regards.
Would you please check the USER_LIGHT.C & USER_LIGHT_ADJ.C in IOT DEMO code in SDK V1.1.0.
We updated and improved the PWM functions and resolution in this SDK.Statistics: Posted by costaud — Fri May 29, 2015 11:38 am
]]>