![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: host/Source/App/Global.h
- Revision:
- 23:12e6183f04d4
diff -r bc8c1cec3da6 -r 12e6183f04d4 host/Source/App/Global.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host/Source/App/Global.h Wed Feb 03 10:44:42 2016 +0300 @@ -0,0 +1,17 @@ +#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[];