yup

Dependencies:   mbed

Fork of analoghalls by Bayley Wang

Committer:
bwang
Date:
Sat Feb 21 21:39:33 2015 +0000
Revision:
1:70eed554399b
Parent:
0:9753f3c2e5ca
Child:
3:86ccde39f61b
potato

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nki 0:9753f3c2e5ca 1 #ifndef __SHARED_H
nki 0:9753f3c2e5ca 2 #define __SHARED_H
nki 0:9753f3c2e5ca 3
nki 0:9753f3c2e5ca 4 #include "constants.h"
nki 0:9753f3c2e5ca 5 #include "mbed.h"
nki 0:9753f3c2e5ca 6
nki 0:9753f3c2e5ca 7 extern PwmOut pha, phb, phc;
bwang 1:70eed554399b 8 extern DigitalOut en;
nki 0:9753f3c2e5ca 9 extern AnalogIn throttle, analoga, analogb;
nki 0:9753f3c2e5ca 10 extern Motor* motor;
bwang 1:70eed554399b 11 extern Ticker dtc_upd_ticker, throttle_upd_ticker;
nki 0:9753f3c2e5ca 12 extern InterruptIn haI, hbI, hcI;
bwang 1:70eed554399b 13 extern float throttle_read;
nki 0:9753f3c2e5ca 14 #endif