I2c timeout value


#1

Hello Zerynth,
I’m trying to use an i2c sensor connected to esp32.
Could you explain better timeout value on i2c class
For example:
write_bytes (* args, timeout = -1)


#2

Hi @mtuxpe,

with the timeout parameter, you can specify a maximum time in milliseconds to wait for bytes to be sent.