Bayley Wang
/
analoghalls
potato
Fork of analoghalls by
shared.h
- Committer:
- bwang
- Date:
- 2015-02-25
- Revision:
- 3:86ccde39f61b
- Parent:
- 1:70eed554399b
- Child:
- 4:f18f6bc5e1fd
File content as of revision 3:86ccde39f61b:
#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; #endif #endif