![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: Global.c
- Revision:
- 0:8ad47e2b6f00
- Child:
- 13:e2a1d18677b8
diff -r 000000000000 -r 8ad47e2b6f00 Global.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Global.c Sat Jan 30 13:00:39 2016 +0000 @@ -0,0 +1,30 @@ +#include "Global.h" + + + +unsigned int VibroReg = 0; //������� ��������� ������������. +unsigned long Global_Time=0, Time_UART=0,Time_Sec=0,Time_vibro=0,Time_1kHz=0; +unsigned long MaxAmp=0; +unsigned char BuffTemp[100]; + void VibroPush(void) + { + VibroReg |= 0x1; + } + void VibroPull(void) + { + VibroReg |= 0x0; + } +void ButtonLightUP(void) +{ + if ((secPuls>100)&&(pulse_Rq==1)) + { + pulse_Rq=0; + LightUpCount=3000; + BackLightCount=5000; + } +} + + + + +