Browse Source

修改部分接口

liuhao 3 years ago
parent
commit
449cb8d0a1

File diff suppressed because it is too large
+ 1124 - 1124
ZStack-2.5.1a/Projects/zstack/Samples/EndDeviceEB/CC2530DB/SampleApp.dep


File diff suppressed because it is too large
+ 6 - 6
ZStack-2.5.1a/Projects/zstack/Samples/EndDeviceEB/CC2530DB/settings/SampleApp.wsdt


+ 2 - 0
ZStack-2.5.1a/Projects/zstack/Samples/EndDeviceEB/Source/adc_sensor.c

@@ -41,3 +41,5 @@ uint16 get_gp2y1014au_value(void)
     return Value;
     return Value;
 }
 }
 #endif
 #endif
+
+

+ 1 - 1
ZStack-2.5.1a/Projects/zstack/Samples/EndDeviceEB/Source/adc_sensor.h

@@ -3,7 +3,7 @@
 
 
 #include "public.h"
 #include "public.h"
 
 
-#define GP2Y1014AU_EN  1
+#define GP2Y1014AU_EN   1
 
 
 #if (GP2Y1014AU_EN==1)
 #if (GP2Y1014AU_EN==1)
 uint16 get_gp2y1014au_value(void);
 uint16 get_gp2y1014au_value(void);

+ 3 - 3
ZStack-2.5.1a/Projects/zstack/Samples/EndDeviceEB/Source/bh1750.h

@@ -32,9 +32,9 @@
 void BH1750IO_Init(void);
 void BH1750IO_Init(void);
 void BH1750_Init(void);
 void BH1750_Init(void);
 void conversion(unsigned int temp_data);
 void conversion(unsigned int temp_data);
-void  Single_Write_BH1750(unsigned char REG_Address);            //¦Ì£¤??D¡ä¨¨?¨ºy?Y
-unsigned char Single_Read_BH1750(unsigned char REG_Address);                //¦Ì£¤???¨¢¨¨??¨²2???¡ä??¡Â¨ºy?Y
-void  Multiple_Read_BH1750(void);                     //¨¢?D?¦Ì??¨¢¨¨??¨²2???¡ä??¡Â¨ºy?Y
+void  Single_Write_BH1750(unsigned char REG_Address);      
+unsigned char Single_Read_BH1750(unsigned char REG_Address);             
+void  Multiple_Read_BH1750(void);                  
 //------------------------------------
 //------------------------------------
 
 
 unsigned char BH1750_RecvByte(void);
 unsigned char BH1750_RecvByte(void);

Some files were not shown because too many files changed in this diff