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.
GlobalObjects.h
- Committer:
- avinashr
- Date:
- 2015-03-26
- Revision:
- 2:2cc70773996b
- Child:
- 3:c3d716d6c6a7
File content as of revision 2:2cc70773996b:
#include "mbed.h"
#include "DCMotor.h"
#include "LeftServoMotor.h"
#include "RightServoMotor.h"
#include "RequestQueue.h"
#ifndef GLOBALOBJECTS_H
#define GLOBALOBJECTS_H
Serial pc(USBTX, USBRX);
DCMotor dcMotor(p21,p17,p18);
LeftServoMotor leftDoor(p22);
RightServoMotor rightDoor(p23);
RequestQueue queue;
int currentFloor = 1;
void floorChosen(int);
void doStopOperation();
void floorReached(int);
void floorDetected(int);
#endif