4. Binary Number System – Outputting Data
This chapter provides detailed information on binary number system. It provides an overview of bits, groups of bits, bytes. It also discusses eight-bit bytes and ports. The rules for binary addition are explained. It shows how microcontrollers read and write binary numbers. The Wink program is modified and expanded so that lit LEDs can be used to count in binary. Programming the 16F88 PIC microcontroller is described. The chapter also includes an overview of Binary Coded Decimal (BCD) and Hexadecimal Numbers (Hex).
Keywords
Binary number system; Bits; Bytes; Eight-bit bytes; Ports; Binary addition; Wink; LEDs; 16F88 PIC microcontroller; Binary Coded Decimal (BCD); Hexadecimal Numbers (Hex)
In this chapter ...
Get PIC Projects for Non-Programmers 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.