Hello, I have downloaded the lib files and device description for the sht21 sensor, i have it in the network and sudo i2cdetect -y 1 shows the device online. but it will not read a temp and the timers are stuck, ive tried a restart, changed sensors, etc. the voltage is correct and so are all the other connections.
"If you dont specify a I2C address, in _iState 0 it automatically sets the address 0x40 (decimal 64), which is specified in the SHT21 manual"
so I would try a 16#40 instead of decimal 40
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have downloaded the lib files and device description for the sht21 sensor, i have it in the network and sudo i2cdetect -y 1 shows the device online. but it will not read a temp and the timers are stuck, ive tried a restart, changed sensors, etc. the voltage is correct and so are all the other connections.
please help
Last edit: nearow 2021-03-06
I#ve not looked to deep in this, but from:
https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/?limit=25#3d18
"If you dont specify a I2C address, in _iState 0 it automatically sets the address 0x40 (decimal 64), which is specified in the SHT21 manual"
so I would try a 16#40 instead of decimal 40