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: Arduino.h
- Revision:
- 1:d96590319bcf
- Parent:
- 0:d93ce07131fc
diff -r d93ce07131fc -r d96590319bcf Arduino.h --- a/Arduino.h Sat Apr 07 04:11:19 2018 +0000 +++ b/Arduino.h Sat Apr 07 07:40:13 2018 +0000 @@ -11,10 +11,12 @@ int getColor(); int getOrientation(); + void sendCommand(char com); + private: - Serial _arduino(_tx, _rx); - void _sendCommand(); - int _receiveData(); + int receiveData(); + Serial _arduino; + }; #endif \ No newline at end of file