Published: 04 Sept 2021 › Updated: 04 Sept 2021
Today test servo
Test Code
#include <Servo.h>
Servo servo;
int angle = 10;
void setup() {
servo.attach(4);
servo.write(angle);
}
void loop()
{
for(angle = 10; angle < 180; angle++)
{
servo.write(angle);
delay(15);
}
for(angle = 180; angle > 10; angle--)
{
servo.write(angle);
delay(15);
}
}



Leave Today test servo to:
Read more #test posts
Best Posts From micrologic
We have not curated any of micrologic's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From micrologic
- Coffee တစ်ခွက်ရဲ့ တန်ဖိုးဆိုတာ
- Today test servo
- Arduino first test
- မဂ်လာပါ နေ့သစ်
- Stop war
- My Actifit Report Card: September 9 2020
- My Actifit Report Card: October 1 2019
- good night steemit
- My Actifit Report Card: July 11 2019
- အရက္သမား
- My Actifit Report Card: July 9 2019
- myself target
- my trip
- My Actifit Report Card: July 5 2019
- My Actifit Report Card: July 4 2019
- ူသာလြန္ျခင္း အနုပညာ
- My Actifit Report Card: July 3 2019
- ဒညင္းသီး နွင့္ က်န္းမာေရး
- My Actifit Report Card: June 30 2019
- My Actifit Report Card: June 29 2019