fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
50:0e3d47f18a50
Parent:
40:8a6494f61326
Child:
86:398da56ef751
--- a/Global.h	Thu Feb 11 02:55:35 2016 +0000
+++ b/Global.h	Thu Feb 11 14:36:33 2016 +0000
@@ -71,11 +71,11 @@
 
 
 
+#define  BackLightON  LPC_GPIO2->FIOCLR  = (1<<12);
+#define  BackLightOFF LPC_GPIO2->FIOSET  = (1<<12);
 
-#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  LightUpON    LPC_GPIO0->FIOCLR = (1<<4);
+#define  LightUpOFF   LPC_GPIO0->FIOSET = (1<<4);
 
 #define  TakeByte         & 0xFF
 #define  deltaDAC           11400.857  //ноль ЦАПа
@@ -97,10 +97,7 @@
 extern unsigned int    Time100K;  
 extern unsigned int    Time1Hz;
 extern unsigned int    Clock1Hz;  
-extern unsigned int    ShiftD;
-extern unsigned int    ShiftL;
-    #define  StartShiftD         0x00000005
-    #define  StartShiftL         0x0000000a
+
 
 
 //#ifndef Global_H