diff --git a/DriveMaster_8h.html b/DriveMaster_8h.html
new file mode 100644
index 0000000..a0d9666
--- /dev/null
+++ b/DriveMaster_8h.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
Header file for the DriveMaster class.
+More...
+
#include <Arduino.h>
+
#include "dshot.h"
+
+
Go to the source code of this file.
+
+
+
Header file for the DriveMaster class.
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
12 virtual void write(uint16_t value,
bool telemetery =
false);
-
13 virtual void sendCommand(uint16_t value);
-
14 virtual void sendValue(uint16_t value);
-
-
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
35 virtual void write(uint16_t value,
bool telemetery =
false);
+
+
+
+
+
+
-
-
-
Definition DriveMaster.h:7
+
+
+
Base class for motor control.
Definition DriveMaster.h:15
+
virtual void sendCommand(uint16_t value)
Send a command to the motor.
Definition DriveMaster.cpp:11
+
virtual void write(uint16_t value, bool telemetery=false)
Write a command to the motor.
Definition DriveMaster.cpp:9
+
virtual void sendValue(uint16_t value)
Send a value to the motor.
Definition DriveMaster.cpp:12
+
virtual void begin()
Initialize the motor control.
Definition DriveMaster.cpp:7
+
int _pin
Definition DriveMaster.h:48
+
DriveMaster(int pin)
Construct a new DriveMaster object with the specified pin.
Definition DriveMaster.cpp:3
+
virtual ~DriveMaster()
Destroy the DriveMaster object.
Definition DriveMaster.cpp:5
+
Header file for the dshot class.
diff --git a/annotated.html b/annotated.html
index db6c8fd..39e51a3 100644
--- a/annotated.html
+++ b/annotated.html
@@ -97,8 +97,8 @@
Here are the classes, structs, unions and interfaces with brief descriptions:
diff --git a/annotated_dup.js b/annotated_dup.js
index 8cf6077..32cfa21 100644
--- a/annotated_dup.js
+++ b/annotated_dup.js
@@ -1,5 +1,5 @@
var annotated_dup =
[
- [ "DriveMaster", "classDriveMaster.html", null ],
- [ "dshot", "classdshot.html", null ]
+ [ "DriveMaster", "classDriveMaster.html", "classDriveMaster" ],
+ [ "dshot", "classdshot.html", "classdshot" ]
];
\ No newline at end of file
diff --git a/basic__dshot_8ino.html b/basic__dshot_8ino.html
new file mode 100644
index 0000000..e043037
--- /dev/null
+++ b/basic__dshot_8ino.html
@@ -0,0 +1,140 @@
+
+
+
+
+
+
+
+
DriveMaster: examples/basic_dshot/basic_dshot.ino File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DriveMaster
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
#include <DriveMaster.h>
+
+ |
+
+#define | MOTOR_PIN 9 |
+ |
+
+ |
+
+void | setup () |
+ |
+
+void | loop () |
+ |
+
+
+
+
+
+
+
diff --git a/basic__dshot_8ino__incl.map b/basic__dshot_8ino__incl.map
new file mode 100644
index 0000000..12145cd
--- /dev/null
+++ b/basic__dshot_8ino__incl.map
@@ -0,0 +1,12 @@
+
diff --git a/basic__dshot_8ino__incl.md5 b/basic__dshot_8ino__incl.md5
new file mode 100644
index 0000000..fdc9f82
--- /dev/null
+++ b/basic__dshot_8ino__incl.md5
@@ -0,0 +1 @@
+fd9c8088c587b7c2776f8e3a46603084
\ No newline at end of file
diff --git a/basic__dshot_8ino__incl.svg b/basic__dshot_8ino__incl.svg
new file mode 100644
index 0000000..17fc211
--- /dev/null
+++ b/basic__dshot_8ino__incl.svg
@@ -0,0 +1,103 @@
+
+
+
+
+
diff --git a/classDriveMaster-members.html b/classDriveMaster-members.html
index 885da96..decb8fa 100644
--- a/classDriveMaster-members.html
+++ b/classDriveMaster-members.html
@@ -98,13 +98,13 @@
This is the complete list of members for DriveMaster, including all inherited members.
diff --git a/classDriveMaster.html b/classDriveMaster.html
index ad6af94..81df18e 100644
--- a/classDriveMaster.html
+++ b/classDriveMaster.html
@@ -99,6 +99,11 @@
+
+
Base class for motor control.
+ More...
+
+
#include <DriveMaster.h>
@@ -107,28 +112,221 @@
|
-
- | DriveMaster (int pin) |
+ | DriveMaster (int pin) |
+ | Construct a new DriveMaster object with the specified pin.
|
|
-
-virtual void | begin () |
+
+virtual | ~DriveMaster () |
+ | Destroy the DriveMaster object.
|
+ |
+virtual void | begin () |
+ | Initialize the motor control.
|
|
-
-virtual void | write (uint16_t value, bool telemetery=false) |
+virtual void | write (uint16_t value, bool telemetery=false) |
+ | Write a command to the motor.
|
|
-
-virtual void | sendCommand (uint16_t value) |
+virtual void | sendCommand (uint16_t value) |
+ | Send a command to the motor.
|
|
-
-virtual void | sendValue (uint16_t value) |
+virtual void | sendValue (uint16_t value) |
+ | Send a value to the motor.
|
|
+
+
Base class for motor control.
+
+
+
◆ DriveMaster()
+
+
+
+
+
+ DriveMaster::DriveMaster |
+ ( |
+ int | pin | ) |
+ |
+
+
+
+
+
Construct a new DriveMaster object with the specified pin.
+
- Parameters
-
+
+ pin | The pin number for motor control. |
+
+
+
+
+
+
+
+
+
◆ begin()
+
+
+
+
+
+
+
+
+ void DriveMaster::begin |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+virtual |
+
+
+
+
+
Initialize the motor control.
+
+
Reimplemented in dshot.
+
+
+
+
+
◆ sendCommand()
+
+
+
+
+
+
+
+
+ void DriveMaster::sendCommand |
+ ( |
+ uint16_t | value | ) |
+ |
+
+
+ |
+
+virtual |
+
+
+
+
+
Send a command to the motor.
+
- Parameters
-
+
+ value | The command value to send. |
+
+
+
+
+
Reimplemented in dshot.
+
+
+
+
+
◆ sendValue()
+
+
+
+
+
+
+
+
+ void DriveMaster::sendValue |
+ ( |
+ uint16_t | value | ) |
+ |
+
+
+ |
+
+virtual |
+
+
+
+
+
Send a value to the motor.
+
- Parameters
-
+
+ value | The value to send. |
+
+
+
+
+
Reimplemented in dshot.
+
+
+
+
+
◆ write()
+
+
+
+
+
+
+
+
+ void DriveMaster::write |
+ ( |
+ uint16_t | value, |
+
+
+ |
+ |
+ bool | telemetery = false ) |
+
+
+ |
+
+virtual |
+
+
+
+
+
Write a command to the motor.
+
- Parameters
-
+
+ value | The command value to write. |
+ telemetry | Flag indicating telemetry presence. |
+
+
+
+
+
+
+
+
+
◆ _pin
+
+
+
+
+
+
+
+
+ int DriveMaster::_pin |
+
+
+ |
+
+protected |
+
+
+
+
Pin number for motor control.
+
+
+
The documentation for this class was generated from the following files:
- src/DriveMaster.h
- src/DriveMaster.cpp
diff --git a/classDriveMaster.js b/classDriveMaster.js
new file mode 100644
index 0000000..a7b80b9
--- /dev/null
+++ b/classDriveMaster.js
@@ -0,0 +1,10 @@
+var classDriveMaster =
+[
+ [ "DriveMaster", "classDriveMaster.html#a9e19f7a7480622e570aba8a6147cb021", null ],
+ [ "~DriveMaster", "classDriveMaster.html#ad3cdd8c68c3e44c002dc133811ab1136", null ],
+ [ "begin", "classDriveMaster.html#a888e34b3f02bb46b879cd5337da0bb6e", null ],
+ [ "sendCommand", "classDriveMaster.html#a431758ea82130c30da7911b180e352d3", null ],
+ [ "sendValue", "classDriveMaster.html#a8667c9cf196298aef9293ba3e78ff382", null ],
+ [ "write", "classDriveMaster.html#a53809e84ec9a4a08282431f6b4bae69b", null ],
+ [ "_pin", "classDriveMaster.html#a8a1e4f2e796cf39282f2ca4a4665d298", null ]
+];
\ No newline at end of file
diff --git a/classDriveMaster__inherit__graph.map b/classDriveMaster__inherit__graph.map
index a0fb568..d5dac5c 100644
--- a/classDriveMaster__inherit__graph.map
+++ b/classDriveMaster__inherit__graph.map
@@ -1,5 +1,5 @@
diff --git a/classDriveMaster__inherit__graph.md5 b/classDriveMaster__inherit__graph.md5
index 69d6836..13b520c 100644
--- a/classDriveMaster__inherit__graph.md5
+++ b/classDriveMaster__inherit__graph.md5
@@ -1 +1 @@
-512cb945bcb10bdf491c213d71f5c1c4
\ No newline at end of file
+b504d89ddda24a011c234b444b5bcc62
\ No newline at end of file
diff --git a/classDriveMaster__inherit__graph.svg b/classDriveMaster__inherit__graph.svg
index a2ba7d5..b93671a 100644
--- a/classDriveMaster__inherit__graph.svg
+++ b/classDriveMaster__inherit__graph.svg
@@ -11,7 +11,7 @@
Node1
-
+
DriveMaster
@@ -20,8 +20,8 @@
Node2
-
-
+
+
dshot
diff --git a/classdshot-members.html b/classdshot-members.html
index ffaa6d4..b27c812 100644
--- a/classdshot-members.html
+++ b/classdshot-members.html
@@ -98,14 +98,14 @@
This is the complete list of members for dshot, including all inherited members.
diff --git a/classdshot.html b/classdshot.html
index e773c94..7a72db6 100644
--- a/classdshot.html
+++ b/classdshot.html
@@ -98,6 +98,11 @@
+
+
Class representing DShot communication.
+ More...
+
+
#include <dshot.h>
@@ -111,27 +116,78 @@
|
-
- | dshot (int pin, DShotType type=DSHOT_300) |
+ | dshot (int pin, DShotType type=DSHOT_300) |
+ | Construct a new dshot object with the specified pin and DShot type.
|
|
+
+ | ~dshot () |
+ | Destroy the dshot object.
|
+ |
void | begin () override |
+ | Initialize the DShot communication.
|
|
void | sendCommand (uint16_t value) override |
+ | Send a DShot command with telemetry enabled.
|
|
void | sendValue (uint16_t value) override |
+ | Send a DShot value with telemetry disabled.
|
|
-
- | DriveMaster (int pin) |
+ | DriveMaster (int pin) |
+ | Construct a new DriveMaster object with the specified pin.
|
|
+
+virtual | ~DriveMaster () |
+ | Destroy the DriveMaster object.
|
+ |
+
+
Class representing DShot communication.
+
+
+
◆ dshot()
+
+
+
+
+
Construct a new dshot object with the specified pin and DShot type.
+
- Parameters
-
+
+ pin | Pin to use for DShot communication |
+ type | DShot protocol type (DSHOT_150 or DSHOT_300) |
+
+
+
+
+
+
◆ begin()
@@ -156,7 +212,9 @@
@@ -183,7 +241,15 @@