Hi Lemariva,
the driver is great and works perfect standalone.
When combined with PWM to control servos, either the system reboots, fails to initialize the camera or the servos don't work anymore.
Could it be due to the Timer used? TIMER_0 for Camera, TIMER_1 for PWN ? Do you have any idea?
Jan
I added the following PWM to the webcam.py:
servo_r = machine.PWM(machine.Pin(12), freq=50,duty=0)
servo_l = machine.PWM(machine.Pin(13), freq=50,duty=0)
Hi Lemariva,
the driver is great and works perfect standalone.
When combined with PWM to control servos, either the system reboots, fails to initialize the camera or the servos don't work anymore.
Could it be due to the Timer used? TIMER_0 for Camera, TIMER_1 for PWN ? Do you have any idea?
Jan
I added the following PWM to the webcam.py:
servo_r = machine.PWM(machine.Pin(12), freq=50,duty=0)
servo_l = machine.PWM(machine.Pin(13), freq=50,duty=0)