Skip to content

Raspberry Pico Compatibility; attach parameters #89

@PJ789

Description

@PJ789

When using an AVR based board, I usually initiate servo with the following;-

  radar_servo.attach(RADAR_SERVO_POSITION_PIN,500,2360);  // NANO attaches the servo on pin 9 to the servo object

When migrating to Pico I found those parameters send the servo crazy, and instead simply using the following worked;-

  radar_servo.attach(RADAR_SERVO_POSITION_PIN);  // PICO attaches the servo on pin 9 to the servo object

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions