WIP
This commit is contained in:
@ -85,6 +85,8 @@ extern "C"
|
||||
|
||||
/**
|
||||
* @brief Adjust BH1750 sensor sensitivity.
|
||||
*
|
||||
* @attention Can only be used if the automatic adjustment is not switched on.
|
||||
*
|
||||
* @param[in] value Value of sensitivity.
|
||||
*
|
||||
@ -93,7 +95,7 @@ extern "C"
|
||||
* @return
|
||||
* - ESP_OK if adjust was success
|
||||
* - ESP_ERR_INVALID_ARG if parameter error
|
||||
* - ESP_ERR_NOT_FOUND if BH1750 is not initialized
|
||||
* - ESP_ERR_NOT_FOUND if BH1750 is not initialized or auto adjust is enabled
|
||||
* - ESP_FAIL if sending command error or slave has not ACK the transfer
|
||||
* - ESP_ERR_INVALID_STATE if I2C driver not installed or not in master mode
|
||||
* - ESP_ERR_TIMEOUT if operation timeout because the bus is busy
|
||||
|
Reference in New Issue
Block a user