123

Dependencies:   mbed

Fork of LG by igor Apu

host/Source/App/Global.h

Committer:
Kovalev_D
Date:
2016-02-03
Revision:
22:12e6183f04d4

File content as of revision 22:12e6183f04d4:

#define  BackLightOFF LPC_GPIO2->FIOSET =(1<<12);
#define  BackLightON  LPC_GPIO2->FIOCLR =(1<<12);
#define  LightUpON    LPC_GPIO0->FIOSET = (1<<4);
#define  LightUpOFF   LPC_GPIO0->FIOCLR = (1<<4);

#define  TakeByte         & 0xFF
#define  deltaDAC           11400.857  //íîëü ÖÀÏà
//#define  K_DAC             0.843
extern float DACF, K_DAC;
extern unsigned int VibroReg;
extern void VibroPush(void);
extern void VibroPull(void);
extern void ButtonLightUP(void);
extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz;
extern unsigned long MaxAmp;
extern unsigned int  LightUpCount,BackLightCount,secPuls;
extern unsigned char BuffTemp[];