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: Encoder HIDScope MODSERIAL QEI biquadFilter mbed
Diff: main.cpp
- Revision:
- 19:c6dc35b4cc0c
- Parent:
- 18:6c065915f474
- Child:
- 20:bdc62ee49197
--- a/main.cpp Thu Oct 08 10:41:56 2015 +0000 +++ b/main.cpp Thu Oct 08 10:42:24 2015 +0000 @@ -104,7 +104,7 @@ pc.printf("Reference after = %d \r\n", reference_turn); } // Change Reference button Negative - if (buttonH1.read() < 0.5){ //if button pressed + if (buttonH2.read() < 0.5){ //if button pressed pc.printf("Reference after = %d \r\n", reference_turn); reference_turn=reference_turn-45; pc.printf("Reference after = %d \r\n", reference_turn); }