The last week I have been working on trying to understand an issue I was having using the Arduino IDE . I use Earle's board manger for uploading the sketches to my Raspberry Pi Pico & cytron maker pi board. But I was only ever getting about 90 degrees of movement of the SG90 servo.
time line
0:00 Introduction
0:15 Quick video showing the issue
0:24 Looking at the different sketches
1:52 Using Earlephilhower board manager
2:52 Installing the board manger
3:41 The difference between the libraries
4:25 Explaining the issue
5:23 Arduino servo.h library reference page
6:16 Amending the sketch to get 170 degrees of movement
7:09 Final servos in action
The issue I was having took some digging to get the solution as can be seen in the video.
It was the help of Earle That I got it sorted in the end.
github for the board manager
https://github.com/earlephilhower/ard...
Required link to add to the preference tab
https://github.com/earlephilhower/ard...
link to issue raised on github
https://github.com/earlephilhower/ard...
3d printed bread board mounts as seen in the video are from as downloadable STL files
https://fearlessnight.com/breadboard-...