# Heltec Cube Cell Decoder for BME680

**URL:** <https://www.thethingsnetwork.org/forum/t/heltec-cube-cell-decoder-for-bme680/33252>\
**Category:** End Devices (Nodes)\
**Created:** [January 9, 2020, 5:50am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cube-cell-decoder-for-bme680/33252 "2020-01-09T05:50:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [January 10, 2020, 11:12am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cube-cell-decoder-for-bme680/33252/6 "2020-01-10T11:12:20Z")

</div>

> [@obaeyens](#):
>
> ```javascript
> decoded.Temperature = (bytes[1] << 8) + bytes[0];
> 
> ```

Beware that this does not [support negative values](https://www.thethingsnetwork.org/forum/t/decrypting-messages-for-dummies/4894/4).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/heltec-cube-cell-decoder-for-bme680/33252)._
