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.
Diff: MDDS30_oit.h
- Revision:
- 0:670c09433f11
- Child:
- 1:213d63a76a25
- Child:
- 3:a64fd9b238c5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MDDS30_oit.h Fri Feb 12 09:02:32 2021 +0000 @@ -0,0 +1,22 @@ +#ifndef MDDS30_OIT_H +#define MDDS30_OIT_H +#include "mbed.h" + +class MDDS30oit{ +public: + MDDS30oit(PinName _txpin, PinName _rxpin); + Serial md; + int word=1,word2=0; + int direction=0; + int leftfront=0; + int rightfront=0; + int leftback=0; + int rightback=0; + void lefttire(float speed); + void righttire(float speed); + void lefttire2(float speed); + void righttire2(float speed); + + }; + +#endif \ No newline at end of file