Commit Graph

57 Commits

Author SHA1 Message Date
Wastl Kraus 57d6a27f74 typedef enum to class 2025-09-25 14:21:37 +02:00
Wastl Kraus 5c976e2cc9 Add note about unofficial bidirectional DShot support
Updated GEMINI.md to include a note under project-specific conventions, clarifying that bidirectional DShot mode is implemented but not officially supported due to instability and external hardware requirements. This serves as a reminder for the AI assistant when working on the project.

Add note about unofficial bidirectional DShot support

Added a comment to all example sketches to clarify that bidirectional DShot is currently not officially supported due to instability and external hardware requirements.

docs(README): Clarify unofficial support for bidirectional DShot

Updated README.md to reflect that bidirectional DShot is no longer officially supported due to instability and external hardware requirements.

Also, modified DShotRMT.h to default the is_bidirectional parameter to false in constructors and added comments to clarify its unofficial support.
2025-09-24 00:30:37 +02:00
Wastl Kraus 76896312db feat(library): Add percent throttle, improve usability & fix bugs
- Adds a new `sendThrottlePercent()` function for more intuitive throttle control.

- Allows initializing the motor magnet count directly in the constructor.

- Updates all examples to use the new features.

- Adds a new `throttle_percent` example sketch.

- Fixes a critical resource leak in `begin()` on partial init failure.

- Hardens web examples with security warnings and improves the UI.

- Updates README to reflect all changes.
2025-09-20 16:47:39 +02:00
Wastl Kraus e912b7ec50 ...bump 2025-09-20 15:41:08 +02:00
Wastl Kraus 93ea08309b remove dependencies
remove dependencies
2025-09-17 11:35:07 +02:00
Wastl Kraus e3b51aeb09 Buffer is managed by IDF
Memory blocks are managed by IDF, so increase buffers to it's limits.
2025-09-16 15:10:29 +02:00
Wastl Kraus 13ff00e99b Add Web Client example 2025-09-11 13:58:22 +02:00
Wastl Kraus eaab163836 ...simplification
...simplification: error handling
2025-09-08 23:00:53 +02:00
Wastl Kraus 16ab6a6ef2 ...readability adaptions 2025-09-08 09:05:54 +02:00
Wastl Kraus feb6f4ecac ...update error handling 2025-09-07 13:48:48 +02:00
Wastl Kraus cfca2de4e9 ...cosmetics 2025-09-05 23:28:08 +02:00
Wastl Kraus 52d11d8d86 ...preparing release 2025-09-05 12:20:01 +02:00
Wastl Kraus 29c851d4e2 ...update result codes 2025-09-05 12:16:47 +02:00
Wastl Kraus 252209dd1b
...release 0.7.0
...update TX logic
...rewrite GCR decoding
...type fix
...add CommandManager
...preparing release
2025-09-04 14:41:05 +02:00
Wastl Kraus 5b02953516 ...testing rx callback 2025-09-02 14:21:40 +02:00
Wastl Kraus 8f8222c620
...update release 0.6.3
* ...clean up

* ...sendThrottle takes "0"

...good one

* ...preparing update

release 0.6.3
2025-08-30 21:56:34 +02:00
Wastl Kraus d7bcd523e0 ...changed some return types 2025-08-28 14:37:02 +02:00
Wastl Kraus 443d032d56
...sync branch
* ...squashed

...some simple info display

...fixing possible overflow

...reenable "telemetric bit" choice

* Update DShotRMT.h

* ...update buffer size

...increase RX Buffer and calculate RMT Sybmbol size

* ...update Workflow badges

* Update .gitignore
2025-08-28 13:22:42 +02:00
Wastl Kraus 2f5948f3be ...use some modern features
...using "auto" for some variables is good, new style
2025-08-17 23:00:43 +02:00
Wastl Kraus c37a66d5a5 ...keep things simple
...example sketch was getting out of hands
2025-08-17 18:58:40 +02:00
Wastl Kraus 7bd10ebc48 ...update public stuff 2025-08-08 15:44:19 +02:00
Wastl Kraus b0373190bb ...more simplifications 2025-08-06 23:57:26 +02:00
Wastl Kraus 6c1c7e38e0 ...fix telemetric bit
...also added some helper
2025-08-04 23:29:49 +02:00
Wastl Kraus 330d06363a ...adding return values
...prepare for proper debug
2025-08-03 22:15:38 +02:00
Wastl Kraus e4a5e1f304 ...just some ideas 2025-08-02 17:20:32 +02:00
Wastl Kraus 95c9100ecb Revert "...clean up"
This reverts commit dbfe3922f0.
2025-08-02 16:11:10 +02:00
Wastl Kraus dbfe3922f0 ...clean up 2025-07-31 13:16:58 +02:00
Wastl Kraus 2cdfd0f484 ...cosmetic 2025-07-30 14:47:40 +02:00
Wastl Kraus 11cc41f742 ...DShot Mode rework 2025-07-30 14:44:01 +02:00
Wastl Kraus 2f59227788 ...simplify 2025-07-30 00:40:09 +02:00
Wastl Kraus 1adde68072 ...unified
...now featuring a much more "clean" appearance ^^
2025-07-19 16:41:04 +02:00
Wastl Kraus b1312cec20 ...Pause duration configuration
...add getter and setter for frame pause duration, further cleaning
2025-07-19 13:26:54 +02:00
Wastl Kraus 089374d2bd ...biDir still not switching 2025-07-11 23:51:46 +02:00
Wastl Kraus 8557930d3e ...added getMotorRPM Function 2025-06-14 18:16:45 +02:00
Wastl Kraus c2f1bf84d4 ...cleanup and fix rx decoding 2025-06-13 21:50:00 +02:00
Wastl Kraus 84adfe026a ...cleaning
...experimental DSHOT1200 support. Who really needs DSHOT1200???
2025-06-13 13:50:10 +02:00
Wastl Kraus 8cfe24e132 ...add BiDirectional support 2025-06-13 00:45:48 +02:00
Wastl Kraus 33bfb6a0be ...rename some
...make the code more easy to read
2025-06-12 12:24:27 +02:00
Wastl Kraus 66482aeadb Rewrite ESP-IDF5
Now using "new" API (rmt_tx.h).

"old" Version of this library is still available: Branch "oldAPI".
2025-06-11 09:29:59 +02:00
Wastl Kraus 78bc06344c fix throttle 2025-06-10 21:40:45 +02:00
Wastl Kraus e31364b172 Update dshot300.ino
...can't leave this alone ^^
2025-05-15 13:00:35 +02:00
Wastl Kraus b0b97da2d0 Bad example
...just to make it work
2025-05-14 15:19:38 +02:00
Wastl Kraus c824f5f46c Add return value
...lol
2025-03-26 13:49:56 +01:00
Wastl Kraus a669eb3759 Update dshot300.ino 2023-04-16 00:50:32 +02:00
Wastl Kraus bdcec32eff Update dshot300.ino 2023-04-15 08:12:37 +02:00
Wastl Kraus 1449f0d06d ...further optimizing and simplifying 2023-04-13 21:10:51 +02:00
Wastl Kraus 6dd8f5026d Updated structure and files for actions 2023-03-30 18:24:31 +02:00
Wastl Kraus 17b0fd017d Update dshot300.ino
Better structure and easier to understand.
2023-03-27 19:55:30 +02:00
Wastl Kraus 640604c146 Updated Method Names
Roll back to use "begin" method again for better selecting the beginning of Signal transmission.

Renamed the methods to fit it´s functunallty.

Updated the CRC Generation, either
2023-03-27 19:47:23 +02:00
Wastl Kraus 3366d2f775 More updates 2023-03-26 17:58:24 +02:00