Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pico Compatibility; attach parameters #89

Open
PJ789 opened this issue Jan 15, 2022 · 0 comments
Open

Raspberry Pico Compatibility; attach parameters #89

PJ789 opened this issue Jan 15, 2022 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@PJ789
Copy link

PJ789 commented Jan 15, 2022

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
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants