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
Diff: globals.h
- Revision:
- 6:688449345fff
- Parent:
- 5:0503d1ebe4f7
- Child:
- 7:edd065946e9b
--- a/globals.h Wed Nov 22 02:33:33 2017 +0000 +++ b/globals.h Wed Nov 22 05:56:05 2017 +0000 @@ -19,10 +19,10 @@ extern InterruptIn cM2_1; extern InterruptIn cM2_2; -extern PwmOut M1F; //motor direction and speed control -extern PwmOut M2B; -extern PwmOut M1B; -extern PwmOut M2F; +extern DigitalOut M1F; //motor direction and speed control +extern DigitalOut M2B; +extern DigitalOut M1B; +extern DigitalOut M2F; extern Serial pc; extern volatile unsigned long counterM1; // counter for hall sensors