February 2007
Intermediate to advanced
190 pages
7h 51m
English

Photograph by Sparkle Labs
Programming PIC microcontrollers, part 3.
In parts 1 and 2 of our microcontroller primer (MAKE, Volume 04, page 158, “Microcontroller Programming,” and Volume 07, page 149, “Hello, World”), we got a PIC chip development system up and running, covered basic inputs and outputs, and left off by showing how to use a PIC chip by itself to control a simple pushbutton counter. In this article, we’ll show how to use a PIC along with other chips to make a digital clock.
Our two peripheral chips are the DS1305 Real Time Clock (RTC), which keeps track of the time, and the MAX7221, an LED display driver. ...
Read now
Unlock full access