esp-bsp icon indicating copy to clipboard operation
esp-bsp copied to clipboard

[DS18B20] Feature Request: Trigger temperature conversion on all devices (BSP-348)

Open CJCombrink opened this issue 1 year ago • 2 comments

When working with more than one DS18B20 temperature sensors, three in my case, it would be nice to call ds18b20_trigger_temperature_conversion() on all three and then only delay for the required amount before reading the temperatures from all three.

The current implementation forces me to wait x ms for each sensor where ideally I could only wait once.

I would imagine an function defined as follow:

esp_err_t ds18b20_trigger_temperature_conversions(const ds18b20_device_handle_t *ds18b20, uint8_t ds18b20_size );

CJCombrink avatar Jul 29 '23 20:07 CJCombrink

@suda-morris FYI

espzav avatar Nov 07 '23 11:11 espzav

@suda-morris Can you please share your 2 cents regarding this? Thanks

VojtechBartoska avatar Mar 13 '24 12:03 VojtechBartoska