![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
n
Fork of LG by
Global.c@16:18e3fd7b92d0, 2016-02-02 (annotated)
- Committer:
- igor_v
- Date:
- Tue Feb 02 17:14:25 2016 +0000
- Revision:
- 16:18e3fd7b92d0
- Parent:
- 15:f5191a1c3805
- Child:
- 21:bc8c1cec3da6
1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igor_v | 0:8ad47e2b6f00 | 1 | #include "Global.h" |
igor_v | 0:8ad47e2b6f00 | 2 | |
igor_v | 0:8ad47e2b6f00 | 3 | |
igor_v | 0:8ad47e2b6f00 | 4 | |
igor_v | 0:8ad47e2b6f00 | 5 | unsigned int VibroReg = 0; //������� ��������� ������������. |
igor_v | 0:8ad47e2b6f00 | 6 | unsigned long Global_Time=0, Time_UART=0,Time_Sec=0,Time_vibro=0,Time_1kHz=0; |
igor_v | 0:8ad47e2b6f00 | 7 | unsigned long MaxAmp=0; |
igor_v | 0:8ad47e2b6f00 | 8 | unsigned char BuffTemp[100]; |
igor_v | 13:e2a1d18677b8 | 9 | unsigned char Time[100]; |
igor_v | 15:f5191a1c3805 | 10 | unsigned int Event1Hz = 0; |
igor_v | 15:f5191a1c3805 | 11 | unsigned int Event1K = 0; |
igor_v | 15:f5191a1c3805 | 12 | unsigned int Event100K = 0; |
igor_v | 15:f5191a1c3805 | 13 | unsigned int EventVibro = 0; |
igor_v | 15:f5191a1c3805 | 14 | unsigned int Time1K = 0; |
igor_v | 15:f5191a1c3805 | 15 | unsigned int Time100K = 0; |
igor_v | 15:f5191a1c3805 | 16 | unsigned int Time1Hz = 0; |
igor_v | 15:f5191a1c3805 | 17 | unsigned int Clock1Hz = 0; |
igor_v | 16:18e3fd7b92d0 | 18 | unsigned int ShiftD = 0; |
igor_v | 16:18e3fd7b92d0 | 19 | unsigned int ShiftL = 0; |
igor_v | 16:18e3fd7b92d0 | 20 | |
igor_v | 16:18e3fd7b92d0 | 21 | |
igor_v | 13:e2a1d18677b8 | 22 | |
igor_v | 0:8ad47e2b6f00 | 23 | void VibroPush(void) |
igor_v | 0:8ad47e2b6f00 | 24 | { |
igor_v | 0:8ad47e2b6f00 | 25 | VibroReg |= 0x1; |
igor_v | 0:8ad47e2b6f00 | 26 | } |
igor_v | 0:8ad47e2b6f00 | 27 | void VibroPull(void) |
igor_v | 0:8ad47e2b6f00 | 28 | { |
igor_v | 0:8ad47e2b6f00 | 29 | VibroReg |= 0x0; |
igor_v | 0:8ad47e2b6f00 | 30 | } |
igor_v | 0:8ad47e2b6f00 | 31 | void ButtonLightUP(void) |
igor_v | 0:8ad47e2b6f00 | 32 | { |
igor_v | 0:8ad47e2b6f00 | 33 | if ((secPuls>100)&&(pulse_Rq==1)) |
igor_v | 0:8ad47e2b6f00 | 34 | { |
igor_v | 0:8ad47e2b6f00 | 35 | pulse_Rq=0; |
igor_v | 0:8ad47e2b6f00 | 36 | LightUpCount=3000; |
igor_v | 0:8ad47e2b6f00 | 37 | BackLightCount=5000; |
igor_v | 0:8ad47e2b6f00 | 38 | } |
igor_v | 0:8ad47e2b6f00 | 39 | } |
igor_v | 0:8ad47e2b6f00 | 40 | |
igor_v | 0:8ad47e2b6f00 | 41 | |
igor_v | 0:8ad47e2b6f00 | 42 | |
igor_v | 0:8ad47e2b6f00 | 43 | |
igor_v | 0:8ad47e2b6f00 | 44 |