Bayley Wang
/
analoghalls
potato
Fork of analoghalls by
Diff: shared.h
- Revision:
- 1:70eed554399b
- Parent:
- 0:9753f3c2e5ca
- Child:
- 3:86ccde39f61b
--- a/shared.h Mon Feb 16 20:16:01 2015 +0000 +++ b/shared.h Sat Feb 21 21:39:33 2015 +0000 @@ -5,10 +5,10 @@ #include "mbed.h" extern PwmOut pha, phb, phc; -extern DigitalOut en, debug; -extern DigitalIn halla, hallb, hallc; +extern DigitalOut en; extern AnalogIn throttle, analoga, analogb; extern Motor* motor; -extern Ticker dtc_upd_ticker; +extern Ticker dtc_upd_ticker, throttle_upd_ticker; extern InterruptIn haI, hbI, hcI; +extern float throttle_read; #endif \ No newline at end of file