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.
Fork of analoghalls by
shared.h
- Committer:
- bwang
- Date:
- 2015-02-26
- Revision:
- 4:f18f6bc5e1fd
- Parent:
- 3:86ccde39f61b
- Child:
- 5:eeb8af99cb6c
File content as of revision 4:f18f6bc5e1fd:
#ifndef __SHARED_H
#define __SHARED_H
#include "constants.h"
#include "mbed.h"
extern PwmOut pha, phb, phc;
extern DigitalOut en;
extern AnalogIn throttle, analoga, analogb;
extern Motor* motor;
extern Ticker dtc_upd_ticker, throttle_upd_ticker;
extern InterruptIn haI, hbI, hcI;
extern float throttle_read;
#ifdef __DEBUG
extern float *fbuffer;
extern int bufidx, skipidx;
#endif
#endif
