Welcome!
I want to read the temperature from the BME280 in a lua script. In datasheets I read that the temperature is stored at 0xFA , 0xFB and 0xFC .
.
After reading these addresses with the command
.
I received 128 , 0 and 0 respectively.
.
I know that the read value 128 is not the temperature. I therefore have a question. How is the temperature read out?
I want to read the temperature from the BME280 in a lua script. In datasheets I read that the temperature is stored at 0xFA , 0xFB and 0xFC .
![[lua] BME280 - How to correctly read the temperature from registers 0xFA-0xFC? [lua] BME280 - How to correctly read the temperature from registers 0xFA-0xFC?](https://obrazki.elektroda.pl/6021873300_1518618329_thumb.jpg)
After reading these addresses with the command
Code: Lua
I received 128 , 0 and 0 respectively.
Code: Lua
I know that the read value 128 is not the temperature. I therefore have a question. How is the temperature read out?