MAST version

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
LukeMar
Date:
Wed Nov 28 15:13:58 2018 +0000
Parent:
0:8ed926c84e2f
Commit message:
Sailbot mast

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Nov 28 14:53:46 2018 +0000
+++ b/main.cpp	Wed Nov 28 15:13:58 2018 +0000
@@ -30,11 +30,11 @@
 int j;
 float now;
 //***Stepper Motor universal variables***
-AnalogIn   ain(p18);
-PwmOut  motor( p22 );
-DigitalOut   dir( p21 );
-DigitalOut    I(p23);
-DigitalOut slp(p30); //sleep
+AnalogIn   ain(p20);
+PwmOut  motor( p25 );
+DigitalOut   dir( p24 );
+DigitalOut    I(p26);
+DigitalOut slp(p29); //sleep
 float d_ang = 180.0;
 float pos = 180.0;
 float RC_O;