Skip to content

Instantly share code, notes, and snippets.

View Mamin0679's full-sized avatar

_mhd.amin Mamin0679

View GitHub Profile
#include <Servo.h>
Servo myservo;
const int servoPin = 9;
const int buttonPin = 12;
const int ledPin = 13;
void setup() {
myservo.attach(servoPin);