Skip to content

Instantly share code, notes, and snippets.

View mnemocron's full-sized avatar
:octocat:
bonk!

Simon Burkhardt mnemocron

:octocat:
bonk!
View GitHub Profile
@col
col / servo_test.ino
Created December 29, 2013 13:18
A simple Arduino sketch that allows you to control a brushless motor via an ESC (or any servo really) using inputs from the Arduino IDE serial monitor.
#include <Servo.h>
Servo esc;
int escPin = 9;
int minPulseRate = 1000;
int maxPulseRate = 2000;
int throttleChangeDelay = 100;
void setup() {