You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.4 KiB

6 years ago
6 years ago
  1. 0 DSHOT_CMD_MOTOR_STOP, // Currently not implemented
  2. 1 DSHOT_CMD_BEEP1, // Wait at least length of beep (380ms) before next command
  3. 2 DSHOT_CMD_BEEP2, // Wait at least length of beep (380ms) before next command
  4. 3 DSHOT_CMD_BEEP3, // Wait at least length of beep (400ms) before next command
  5. 4 DSHOT_CMD_BEEP4, // Wait at least length of beep (400ms) before next command
  6. 5 DSHOT_CMD_BEEP5, // Wait at least length of beep (400ms) before next command
  7. 6 DSHOT_CMD_ESC_INFO, // Currently not implemented
  8. 7 DSHOT_CMD_SPIN_DIRECTION_1, // Need 6x, no wait required
  9. 8 DSHOT_CMD_SPIN_DIRECTION_2, // Need 6x, no wait required
  10. 9 DSHOT_CMD_3D_MODE_OFF, // Need 6x, no wait required
  11. 10 DSHOT_CMD_3D_MODE_ON, // Need 6x, no wait required
  12. 11 DSHOT_CMD_SETTINGS_REQUEST, // Currently not implemented
  13. 12 DSHOT_CMD_SAVE_SETTINGS, // Need 6x, wait at least 12ms before next command
  14. 20 DSHOT_CMD_SPIN_DIRECTION_NORMAL, // Need 6x, no wait required
  15. 21 DSHOT_CMD_SPIN_DIRECTION_REVERSED, // Need 6x, no wait required
  16. 22 DSHOT_CMD_LED0_ON, // Currently not implemented
  17. 23 DSHOT_CMD_LED1_ON, // Currently not implemented
  18. 24 DSHOT_CMD_LED2_ON, // Currently not implemented
  19. 25 DSHOT_CMD_LED3_ON, // Currently not implemented
  20. 26 DSHOT_CMD_LED0_OFF, // Currently not implemented
  21. 27 DSHOT_CMD_LED1_OFF, // Currently not implemented
  22. 28 DSHOT_CMD_LED2_OFF, // Currently not implemented
  23. 29 DSHOT_CMD_LED3_OFF, // Currently not implemented
  24. DSHOT_CMD_MAX = 47