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.
Dependencies: SerialHalfDuplex
Dependents: Programme_3Cubes_Trappes AX13 AX12_RobotDemineur Robot_demineur ... more
Diff: AX12.cpp
- Revision:
- 2:4b23ea069b7e
- Parent:
- 1:19cd7097b3e4
diff -r 19cd7097b3e4 -r 4b23ea069b7e AX12.cpp
--- a/AX12.cpp Mon Mar 26 10:42:09 2018 +0000
+++ b/AX12.cpp Wed Apr 25 17:13:46 2018 +0000
@@ -26,9 +26,7 @@
AX12::AX12(PinName tx, PinName rx, int ID)
: _ax12(tx,rx) {
- int _baud = 1000000;
_ID = ID;
- _ax12.baud(_baud);
}
// Set the mode of the servo