# How to use "bitmap" in LoRa Serialization library?

**URL:** <https://www.thethingsnetwork.org/forum/t/how-to-use-bitmap-in-lora-serialization-library/33424>\
**Category:** Application Development\
**Created:** [January 16, 2020, 1:52am UTC](https://www.thethingsnetwork.org/forum/t/how-to-use-bitmap-in-lora-serialization-library/33424 "2020-01-16T01:52:34Z")\
**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:** [February 19, 2020, 8:37am UTC](https://www.thethingsnetwork.org/forum/t/how-to-use-bitmap-in-lora-serialization-library/33424/6 "2020-02-19T08:37:00Z")

</div>

Note that you’re not really sending hexadecimal `FB C0`, but are sending binary data: the bits `11111011 11000000` which for a human can be shown as `FB C0`, [or many other formats](https://www.thethingsnetwork.org/forum/t/decoding-smart-waste-bin-detector-payload/23291/3).

To see the bits, you could use `Serial.print(data[i], BIN)`. Of course, that’s hardly useful for humans.

Also note that in computer code [it _is_ important to be explicit](https://www.thethingsnetwork.org/forum/t/join-request-problem/10596/10).

See also [Working with bytes](https://www.thethingsnetwork.org/docs/devices/bytes.html).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/how-to-use-bitmap-in-lora-serialization-library/33424)._
