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.
Fork of progr_Pes2_st16b_10 by
Revision 11:e2904812c5f1, committed 2017-04-05
- Comitter:
- beacon
- Date:
- Wed Apr 05 15:00:53 2017 +0000
- Parent:
- 10:4e14a2de6011
- Child:
- 12:68eb5e319c39
- Commit message:
- k
Changed in this revision
| Sources/Robot.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Sources/Robot.cpp Thu Mar 30 18:50:34 2017 +0000
+++ b/Sources/Robot.cpp Wed Apr 05 15:00:53 2017 +0000
@@ -35,6 +35,15 @@
}
+void Robot::turnLeftS()
+{
+
+ *powerSignal = 1;
+ *left= 0.2f;
+ *right= 0.2f;
+
+}
+
void Robot::turnRight()
{
*powerSignal = 1;
