APPENDIX B

Hexadecimal Numbers and Checksums

The Digi X-CTU software that configures XBee modules uses hexadecimal values represented by digits 0–9 and letters A–F, which equal the decimal values 0 through 15. This hexadecimal numbering system provides an easy way to represent four-bit binary numbers that comprise only 1s and 0s. Each hex digit represents a 4-bit binary value, from 00002 through 11112, or from 0x0 to 0xF as shown in Table B.1. The prefix of zero followed by the letter x indicates a value expressed in the hexadecimal numbering system. To represent an 8-bit byte, people use two hex digits such as 0x5E, which corresponds to 9410, or 010111102. Two-digit hex values range from 0x00 to 0xFF, or in binary from 000000002 to 11111111 ...

Get The Hands-on XBEE Lab Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.