Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
BindPlug Class Reference
For binding a Spektrum receiver to transmitter. More...
#include <Spektrum.h>
Public Member Functions | |
BindPlug (PinName tx, PinName rx, int mode=SPEKTRUM_INT_DSMX_11MS) | |
BindPlug is used to bind a Spektrum Satellite receiver. | |
~BindPlug () | |
Destructor for BindPlug object. | |
Data Fields | |
int | mode |
e.g. |
Detailed Description
For binding a Spektrum receiver to transmitter.
Definition at line 88 of file Spektrum.h.
Constructor & Destructor Documentation
BindPlug | ( | PinName | tx, |
PinName | rx, | ||
int | mode = SPEKTRUM_INT_DSMX_11MS |
||
) |
BindPlug is used to bind a Spektrum Satellite receiver.
- Parameters:
-
tx orange wire, 3.3V supply pin, here used as a DigitalOut rx gray wire, rx pin, here used as a DigitalOut mode is mode, e.g. internal or external, DSM2 or DSMX, 11 or 22ms The black wire should be connected to ground. Default mode is internal, DSMX, 11 ms. Once created, this object will send a number of falling pulses over the 3.3V supply pin to trigger the satellite receiver to go into bind mode.
Definition at line 127 of file Spektrum.cpp.
~BindPlug | ( | ) |
Destructor for BindPlug object.
Definition at line 152 of file Spektrum.cpp.
Field Documentation
int mode |
Generated on Wed Jul 13 2022 23:07:45 by
