未验证 提交 bdc6ea2d 编写于 作者: D David Lin 提交者: GitHub

Update E53_IA1.c

上级 bcfe2161
......@@ -62,7 +62,6 @@ void SHT30_reset(void)
uint8_t SHT3X_Resetcommand_Buffer[2]={0x30,0xA2}; //soft reset
HAL_I2C_Master_Transmit(&hi2c1,SHT30_Addr<<1,SHT3X_Resetcommand_Buffer,2,0x10);
HAL_Delay(15);
}
/***************************************************************
......@@ -75,7 +74,6 @@ void Init_SHT30(void)
{
uint8_t SHT3X_Modecommand_Buffer[2]={0x22,0x36}; //periodic mode commands
HAL_I2C_Master_Transmit(&hi2c1,SHT30_Addr<<1,SHT3X_Modecommand_Buffer,2,0x10); //send periodic mode commands
}
/***************************************************************
......@@ -108,7 +106,6 @@ uint8_t SHT3x_CheckCrc(char data[], char nbrOfBytes, char checksum)
return 1;
else
return 0;
}
/***************************************************************
......@@ -184,7 +181,6 @@ void motor_control(char mode){
E53_IA1_Data.MotorMode=0;
HAL_GPIO_WritePin(IA1_Motor_GPIO_Port, IA1_Motor_Pin, GPIO_PIN_RESET);
}
}
......@@ -199,7 +195,6 @@ void light_control(char mode){
E53_IA1_Data.LightMode=0;
HAL_GPIO_WritePin(IA1_Light_GPIO_Port, IA1_Light_Pin, GPIO_PIN_RESET);
}
}
/***************************************************************
......@@ -289,4 +284,3 @@ void E53_IA1_Read_Data(void)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册