yup

Dependencies:   mbed

Fork of analoghalls by Bayley Wang

shared.h

Committer:
nki
Date:
2015-02-16
Revision:
0:9753f3c2e5ca
Child:
1:70eed554399b

File content as of revision 0:9753f3c2e5ca:

#ifndef __SHARED_H
#define __SHARED_H

#include "constants.h"
#include "mbed.h"

extern PwmOut pha, phb, phc;
extern DigitalOut en, debug;
extern DigitalIn halla, hallb, hallc;
extern AnalogIn throttle, analoga, analogb;
extern Motor* motor;
extern Ticker dtc_upd_ticker;
extern InterruptIn haI, hbI, hcI;
#endif