yup

Dependencies:   mbed

Fork of analoghalls by Bayley Wang

shared.h

Committer:
bwang
Date:
2015-02-21
Revision:
1:70eed554399b
Parent:
0:9753f3c2e5ca
Child:
3:86ccde39f61b

File content as of revision 1:70eed554399b:

#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;
#endif