I have been trying for a week or so now to get the PWM working on the ESP8266. My code currently is very basic.
pwm_duty_init[0] = 100;
pwm_duty_init[1] = 100;
pwm_duty_init[2] = 100;
uart0_sendStr("\r\nDoor Unlocker\r\n");
pwm_init(3000, pwm_duty_init, PWM_CHANNEL, io_info);
uart0_sendStr("\r\nPWM Initialised\r\n");
pwm_start();
uart0_sendStr("\r\nPWM Started\r\n");
The output I get is:
I have attached my whole user_main.c file as well in case there is a clue in there.
I am doing this all in very 1.4 of the SDK.
I am really lost here. I have gone through the few other discussions on this topic and there really seems to be no solution.
Any thoughts would be appreciated.
Haemish