Introduction

Microcontrollers are computers on a chip. When they power up they start running a program from internal program memory, also called ROM for read only memory, or Flash. Microcomputers are found in appliances, toys, automobiles, and computer peripherals, such as a keyboard or mouse, and are finding their way in as support electronics for almost everything electronic from battery chargers to RADAR systems.

The Microchip PIC® microcontrollers have become the most popular choice for new designs based on their high speed, of up to 70 million instructions per second as of this writing, low cost, some under $1; and large number of interfaces like USB, Ethernet, and analog signals.

The C programming language, originally developed by AT&T ...

Get Embedded C Programming 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.