ESC by jaketyler.new

This sketch is missing a short description
ESC ARMING SEQUENCE PROGRAM Arduino Arms the ESC by creating a an electrical +Pulse of 1100us in a 20ms Cycle period (50Hz) for about 10sec. Then, widen the pulse to drive the motor by sweeping it (+ pulse) from 1150us to 1450us which speed up the Motor, then sweep back the pulse from 1450us to 1150 which narrow the pulse eventually slowdown the rotation speed. At any widh of the +pulse (1100 to 1450) or more), the cycle period must maintain within 20ms (50Hz) Arduino /* For constant speed and manual speed control edit the loop function below Select choice of speed any value within 1200us to 1900uS. Motor On/Off switch control must be at Arduino power supply and not on the ESC Battery. Wait for arming time of 10sec to spin the motor. */ void loop() { digitalWrite(pin, HIGH); delayMicroseconds(1250); digitalWrite(pin, LOW); delay(20-(1250/1000)); }<<span style="display:block; text-align:center;"><iframe width="300" height="169" src="http://www.youtube.com/embed/Hwv040lBAz4?feature=oembed" frameborder="0" allowfullscreen></iframe></span>span style="display:block; text-align:center;"><iframe width="300" height="169" src="http://www.youtube.com/embed/Hwv040lBAz4?feature=oembed" frameborder="0" allowfullscreen></iframe></span>

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:65600" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>