-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dennis Evangelista
committed
Mar 12, 2018
1 parent
3ff19c7
commit 7b14578
Showing
2 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
#include "mbed.h" | ||
#include "rtos.h" | ||
|
||
#include "spektrum.h" | ||
|
||
|
||
spektrum::Spektrum(PinName tx, PinName rx): _receiver(tx, rx){ | ||
_receiver.baud(SPEKTRUM_BAUD); // Spektrum uses 125000 8N1 or 115200 8N1 | ||
} // Spektrum(tx, rx) constructor | ||
|
||
spektrum::~Spektrum(){ | ||
} // ~Spektrum() destructor | ||
|
||
void bind(int bind_mode = SPEKTRUM_INT_DSMX_11MS){ | ||
debug("Spektrum: bind() not yet implemented"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters