Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
vadyschka01
2026-05-27 16:10:40 +03:00
parent 29749c6212
commit babc5a24e3
12 changed files with 1436 additions and 230 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "stm32g4xx.h"
bool DSHOT_Init(unsigned long Freq, bool Bidirect);
bool DSHOT_Mode(unsigned long Freq, bool Bidirect);
bool DSHOT_SetCommand(unsigned short Command[4], bool Forced); // tele - 0x8000 | data - 0x0FFF
bool DSHOT_GetERPM(unsigned short eRPM[4], bool Error[4]);