Skip to content

Instantly share code, notes, and snippets.

@reefwing
Created September 3, 2022 00:41
Show Gist options
  • Select an option

  • Save reefwing/bcc5a5cfe31e0fe8be8faeef2dd02884 to your computer and use it in GitHub Desktop.

Select an option

Save reefwing/bcc5a5cfe31e0fe8be8faeef2dd02884 to your computer and use it in GitHub Desktop.
Arming ESC with BLHeli_S v16.7 firmware
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