Schaltet die Motoren des B17 ein und aus (je 1 sec)
Fork of _B16_T3_Motor by
Revision 4:b0d3112c1bc6, committed 2017-05-02
- Comitter:
- Enenkel
- Date:
- Tue May 02 08:11:18 2017 +0000
- Parent:
- 3:acd2b6fdcd7f
- Commit message:
- B17_Test2_Motor
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r acd2b6fdcd7f -r b0d3112c1bc6 main.cpp --- a/main.cpp Thu Apr 21 12:17:28 2016 +0000 +++ b/main.cpp Tue May 02 08:11:18 2017 +0000 @@ -25,7 +25,8 @@ // ************* Hauptprogramm ************ int main() { // Start Hauptprogramm - Von=1; // Motor Spannung EIN + Von=1; + wait (1.0); // Motor Spannung EIN MotorR_EN=MotorL_EN=1; // Beide Motoren ENABLE while(1) { // Anfang der Schleife (ohne Abbruch) MotorR_FORWARD = 1; // RECHTER Motor vorwärts EIN
diff -r acd2b6fdcd7f -r b0d3112c1bc6 mbed.bld --- a/mbed.bld Thu Apr 21 12:17:28 2016 +0000 +++ b/mbed.bld Tue May 02 08:11:18 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/aae6fcc7d9bb \ No newline at end of file