• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

Today test servo

micrologic (44)in #test • 4 years ago

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);
}
}

img_0.13313984531507533.jpg

img_0.8078139718770875.jpg

img_0.17047433096846745.jpg

#myself #code #servo
4 years ago in #test by micrologic (44)
$0.07
  • Past Payouts $0.07
  • - Author $0.03
  • - Curators $0.03
29 votes
  • droida: $0.05
  • callmemaungthan: $0.01
  • quicktrades: $0.00
  • honeybot: $0.00
  • cresus: $0.00
  • gangstalking: $0.00
  • freebot: $0.00
  • misery: $0.00
  • swissbot: $0.00
  • swissapps: $0.00
  • quicktrade: $0.00
  • hypnobot: $0.00
  • chatbot: $0.00
  • buffybot: $0.00
  • psychobot: $0.00
  • psybot: $0.00
  • dotmatrix: $0.00
  • botito: $0.00
  • lunapark: $0.00
  • hadaly: $0.00
  • and 9 more
Reply 0
Sort:  
  • Trending
    • Trending
    • Votes
    • Age