Last active
March 22, 2025 15:58
-
-
Save micartey/56220d2137d905a426a599cca679c065 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
Servo ESC; | |
void setup() { | |
Serial.begin(9600); | |
Serial.println("Starting"); | |
ESC.attach(A0); | |
ESC.write(2000); | |
delay(2000); | |
ESC.write(1000); | |
delay(2000); | |
} | |
void loop() { | |
ESC.write(1040); // 1040 is fairly low. 1000 was to low for my motor to spin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment