29 ESP_LOGV(TAG,
"Sensor status %d",
status_);
59 return (((
float) counts / 2047.0f) * 200.0f) - 50.0f;
70void HONEYWELLABPSensor::update() {
71 ESP_LOGV(TAG,
"Update Honeywell ABP Sensor");
80void HONEYWELLABPSensor::dump_config() {
82 LOG_PIN(
" CS Pin: ", this->
cs_);
84 " Min Pressure Range: %0.1f\n"
85 " Max Pressure Range: %0.1f",
87 LOG_UPDATE_INTERVAL(
this);
90void HONEYWELLABPSensor::set_honeywellabp_min_pressure(
float min_pressure) {
94void HONEYWELLABPSensor::set_honeywellabp_max_pressure(
float max_pressure) {