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 WaG by
Diff: main.cpp
- Revision:
- 41:9b293b14b845
- Parent:
- 40:4e82369f337c
- Child:
- 42:6cba679a4ee4
diff -r 4e82369f337c -r 9b293b14b845 main.cpp
--- a/main.cpp Fri Mar 23 21:24:26 2018 +0000
+++ b/main.cpp Tue Mar 27 16:34:17 2018 +0000
@@ -30,6 +30,7 @@
DigitalIn start_button(UI_START_BUTTON);
DigitalIn cal_button(UI_CAL_BUTTON);
DigitalIn station_select(UI_STATION_SELECT);
+DigitalIn home_sensor(STP_HOME_SENSOR);
AnalogIn mux_out (MUX_OUT);
BusOut mux_select(MUX_S0, MUX_S1, MUX_S2, MUX_S3);
@@ -58,6 +59,9 @@
//test_target_leds();
//pc.printf("LED's tested");
- test_phototransistors();
- pc.printf("Phototransistors tested");
+ //test_phototransistors();
+ //pc.printf("Phototransistors tested");
+
+ step_test();
+ pc.printf("Step motor tested.");
}
\ No newline at end of file
