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 mbed-rtos MotionSensor EthernetInterface
Diff: Protocol/receiver.cpp
- Revision:
- 8:a1067fcde341
- Parent:
- 0:88faaa1afb83
diff -r 27516a2b504b -r a1067fcde341 Protocol/receiver.cpp
--- a/Protocol/receiver.cpp Sun Apr 17 01:07:25 2016 +0000
+++ b/Protocol/receiver.cpp Sat Apr 23 03:55:39 2016 +0000
@@ -61,3 +61,8 @@
*n = get_pid_param(serial);
}
+void get_jog_vel(Serial& serial, float* period, float* ratio)
+{
+ *period = get_param(serial, JOG_VEL_PERIOD_MIN, JOG_VEL_PERIOD_MAX);
+ *ratio = get_param(serial, JOG_VEL_RATIO_MIN, JOG_VEL_RATIO_MAX);
+}
\ No newline at end of file