ALPHA_A
Dependencies: DataPool MD_PID mbed
Revision 6:bb5e51ded250, committed 2017-09-15
- Comitter:
- hirotayamato
- Date:
- Fri Sep 15 01:11:50 2017 +0000
- Parent:
- 5:1142db72d16d
- Commit message:
- ALPHA_A
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Sep 14 00:41:27 2017 +0000 +++ b/main.cpp Fri Sep 15 01:11:50 2017 +0000 @@ -5,7 +5,7 @@ #include "AlphaTransporter.h" #include "DataPool.h" -Mecanamu_4 Mecanamu(PA_8, PB_0, PA_2, PA_7, PA_11, PB_1, PA_6, PA_5, PB_5, PF_0, PA_4, PA_3, PB_4, PF_1, PA_1, PA_0, 1); +Mecanamu_4 Mecanamu(PA_8, PB_0, PA_12, PA_7, PA_11, PB_1, PA_6, PA_5, PB_5, PF_0, PA_4, PA_3, PB_4, PF_1, PA_1, PA_0, 1); Serial pc(USBTX, USBRX); int main() { @@ -21,5 +21,6 @@ y = alpha->read(1) / 128.00; t = alpha->read(2) / 128.00; Mecanamu.Drive(x, y, t); + wait(0.1); } } \ No newline at end of file