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 3875_Individualproject
main/main.h
- Committer:
- jamesheavey
- Date:
- 2020-03-12
- Revision:
- 18:991658b628fc
- Parent:
- 17:77b8515a9568
- Child:
- 20:5cf6a378801d
File content as of revision 18:991658b628fc:
#ifndef MAIN_H #define MAIN_H #include "m3pi.h" #include "mbed.h" #include "QTRSensors.h" // API extern m3pi robot; // LEDs extern BusOut leds; // Buttons extern DigitalIn button_A; extern DigitalIn button_B; extern DigitalIn button_X; extern DigitalIn button_Y; extern DigitalIn button_enter; extern DigitalIn button_back; // Potentiometers extern AnalogIn pot_P; extern AnalogIn pot_I; extern AnalogIn pot_D; extern AnalogIn pot_S; // Sensors extern DigitalInOut QTRA; //connected to digital P26 extern DigitalInOut QTRB; //connected to digital P25 // Globals // Prototypes #endif