Photograph by Sparkle Labs
DIGITAL CLOCK
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. ...
Get Make: Technology on Your Time Volume 09 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.