Damiano Derin
Published

Hey, Apple! I'm playing!!!

Tired of playing games on your iPhone? Make a bot to play for you!

EasyFull instructions provided398
Hey, Apple! I'm playing!!!

Things used in this project

Hardware components

LinkIt ONE
MediaTek Labs LinkIt ONE
×1
Breadboard Jumper Wire Pack(200mm/165mm/125mm/80mm)
×1
pen touch screen
Connected to Pin d4
×1
Super strong metal core Servo MG-995
Connected to Pin d9, 5V, and GND
×1
iPhone
Apple iPhone
Optional
×1

Story

Read more

Code

Sketch

C/C++
#include
Servo myservo;

void setup() {
  myservo.attach(9);
  pinMode(4, OUTPUT);
}

void loop() {
  myservo.write(90);
  digitalWrite(4, LOW);
  delay(4000);
  myservo.write(170);
  digitalWrite(4, HIGH);
  delay(1000);
}

Credits

Damiano Derin

Damiano Derin

1 project • 1 follower

Comments

Add projectSign up / Login