potato

Dependencies:   mbed

Fork of analoghalls by N K

Committer:
nki
Date:
Mon Feb 16 20:16:01 2015 +0000
Revision:
0:9753f3c2e5ca
Child:
1:70eed554399b
hello bayley;

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;
nki 0:9753f3c2e5ca 8 extern DigitalOut en, debug;
nki 0:9753f3c2e5ca 9 extern DigitalIn halla, hallb, hallc;
nki 0:9753f3c2e5ca 10 extern AnalogIn throttle, analoga, analogb;
nki 0:9753f3c2e5ca 11 extern Motor* motor;
nki 0:9753f3c2e5ca 12 extern Ticker dtc_upd_ticker;
nki 0:9753f3c2e5ca 13 extern InterruptIn haI, hbI, hcI;
nki 0:9753f3c2e5ca 14 #endif