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:
- 1:213d63a76a25
- Parent:
- 0:670c09433f11
--- a/MDDS30_oit.h Fri Feb 12 09:02:32 2021 +0000
+++ b/MDDS30_oit.h Fri Jul 30 11:00:46 2021 +0000
@@ -6,12 +6,13 @@
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;
+ int word;
+ int word2;
+ int direction;
+ int leftfront;
+ int rightfront;
+ int leftback;
+ int rightback;
void lefttire(float speed);
void righttire(float speed);
void lefttire2(float speed);