Update DShot_Lib.h

...make sure 25µs pause between dshot packets is used ....bidir or not
This commit is contained in:
Wastl Kraus 2021-06-29 22:31:00 +02:00
parent c6d902aed6
commit 32663d6fbe
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ constexpr auto DSHOT_THROTTLE_MIN = 48;
constexpr auto DSHOT_THROTTLE_MAX = 2047;
constexpr auto DSHOT_NULL_PACKET = 0b0000000000000000;
constexpr auto DSHOT_PAUSE = (DSHOT_PACKET_LENGTH * 21); // ...21bit is recommended
constexpr auto DSHOT_PAUSE_BIDIRECTIONAL = DSHOT_PACKET_LENGTH;
constexpr auto DSHOT_PAUSE = 65; // ...25µs break between dshot packets
constexpr auto DSHOT_PAUSE_BIDIRECTIONAL = DSHOT_PAUSE; // ...same
constexpr auto DSHOT_PAUSE_BIT = 16;
constexpr auto F_CPU_RMT = 80000000L;