N K
/
analoghalls_part_4
yup
Fork of analoghalls by
shared.h
- Committer:
- nki
- Date:
- 2015-02-26
- Revision:
- 5:eeb8af99cb6c
- Parent:
- 4:f18f6bc5e1fd
File content as of revision 5:eeb8af99cb6c:
#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, ia, ib; extern Motor* motor; extern Ticker dtc_upd_ticker, throttle_upd_ticker, isense_upd_ticker; extern InterruptIn haI, hbI, hcI; extern float throttle_read; extern float ia_read; extern float ib_read; #ifdef __DEBUG extern float *fbuffer; extern int bufidx, skipidx; #endif #endif