Servo and Ultrasonic Library

Dear Pololu team,
Have a nice day

Can we have the Servo Motor and Ultrasonic Sensor Library that to include “libpololu-arduino” then we can add servo and ultrasonic to 3pi robot

please advice

Thanks in advance
Dayan

Hello, Dayan.

We do not have any specific Arduino libraries to control an ultrasonic sensor or servo for the 3pi robot. For a servo library, you could try using the Arduino Servo library. Please note that the OrangutanBuzzer in the Pololu AVR Library and the Arduino Servo library both use Timer1, so you will not be able to use the buzzer while controlling a servo on the 3pi. For the ultrasonic sensor, the code would depend on the type of ultrasonic sensor you are planning to use with the 3pi.

- Amanda