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
globals.h
- Committer:
- x58alex41
- Date:
- 2017-11-22
- Revision:
- 0:9c49bdc7e402
- Child:
- 1:ba2946ff6770
File content as of revision 0:9c49bdc7e402:
#ifndef _GLOBALS_ #define _GLOBALS_ #include "mbed.h" extern AnalogIn LL_t; extern AnalogIn L_t; extern AnalogIn R_t; extern AnalogIn RR_t; extern DigitalOut LL_e; extern DigitalOut L_e; extern DigitalOut R_e; extern DigitalOut RR_e; extern InterruptIn cM1_1; //interrupt from encoders extern InterruptIn cM1_2; 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 Serial pc; extern volatile unsigned long counterM1; // counter for hall sensors extern volatile unsigned long counterM2; #endif