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 Lab_6_WaG by
Diff: stepper.cpp
- Revision:
- 77:73e1cf3a7284
- Parent:
- 74:8881f4aeb174
- Child:
- 78:84ce90a76594
--- a/stepper.cpp Thu Apr 26 15:44:46 2018 +0000
+++ b/stepper.cpp Thu Apr 26 16:12:09 2018 +0000
@@ -213,8 +213,8 @@
pc.printf("Calibration test begin...\n");
pc.printf("step 9 test begin\n");
int sensor_no = 0;
- if (station == STATION_A) sensor_no = 8;
- if (station == STATION_B) sensor_no = 0;
+ if (station == STATION_A) sensor_no = 0;
+ if (station == STATION_B) sensor_no = 8;
pc.printf("sensor_no: %d\n", sensor_no);
