potato

Dependencies:   mbed

Fork of analoghalls by N K

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers shared.h Source File

shared.h

00001 #ifndef __SHARED_H
00002 #define __SHARED_H
00003 
00004 #include "constants.h"
00005 #include "mbed.h"
00006 
00007 extern PwmOut pha, phb, phc;
00008 extern DigitalOut en;
00009 extern AnalogIn throttle, analoga, analogb;
00010 extern Motor* motor;
00011 extern Ticker dtc_upd_ticker, throttle_upd_ticker;
00012 extern InterruptIn haI, hbI, hcI;
00013 extern float throttle_read;
00014 #ifdef __DEBUG
00015 extern float *fbuffer;
00016 extern int bufidx, skipidx;
00017 #endif
00018 
00019 #endif