Skip to content

Issues when using camera driver in parallel with PWM #8

@jischebeck

Description

@jischebeck

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions