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: mbed
Fork of m3pi by
Diff: m3pi.cpp
- Revision:
- 3:c38d2f980494
- Parent:
- 2:330eb028e85b
- Child:
- 4:54c673c71fc0
--- a/m3pi.cpp Mon Nov 01 16:18:55 2010 +0000
+++ b/m3pi.cpp Mon Nov 01 23:30:09 2010 +0000
@@ -193,7 +193,8 @@
{ "left_motor", rpc_method_caller<m3pi, float, &m3pi::left_motor> },
{ "right_motor", rpc_method_caller<m3pi, float, &m3pi::right_motor> },
{ "battery", rpc_method_caller<float, m3pi, &m3pi::battery> },
- { "sensors", rpc_method_caller<float, m3pi, &m3pi::line_position> },
+ { "line_position", rpc_method_caller<float, m3pi, &m3pi::line_position> },
+ { "sensor_auto_calibrate", rpc_method_caller<char, m3pi, &m3pi::sensor_auto_calibrate> },
RPC_METHOD_SUPER(Base)
