Created
September 3, 2022 00:41
-
-
Save reefwing/bcc5a5cfe31e0fe8be8faeef2dd02884 to your computer and use it in GitHub Desktop.
Arming ESC with BLHeli_S v16.7 firmware
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
| void armESC() { | |
| delay(3000); | |
| ESC1.writeMicroseconds(QUARTER_PULSEWIDTH); | |
| ESC2.writeMicroseconds(QUARTER_PULSEWIDTH); | |
| ESC3.writeMicroseconds(QUARTER_PULSEWIDTH); | |
| ESC4.writeMicroseconds(QUARTER_PULSEWIDTH); | |
| delay(2000); | |
| ESC1.writeMicroseconds(MIN_PULSEWIDTH); | |
| ESC2.writeMicroseconds(MIN_PULSEWIDTH); | |
| ESC3.writeMicroseconds(MIN_PULSEWIDTH); | |
| ESC4.writeMicroseconds(MIN_PULSEWIDTH); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment