首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > PIC 使用一个定时器控制led和按键

PIC 使用一个定时器控制led和按键

资料介绍
The purpose of this application note is to design a clock
while multiplexing the features as much as possible,
allowing the circuit to use the 18-pin PIC16C54. Other
devices in the Microchip line expand on this part, mak-
ing it a good starting point for learning the basics. This
design is useful because it utilizes every pin for output
and switches some of them to inputs briefly to read the
keys. For a more extensive clock design, consult appli-
cation note AN529.
AN590
A Clock Design Using the PIC16C54 for LED Displays and Switch Inputs

OPERATION
Author: Dan Matthews
Microchip Technology Inc. Switches
When no buttons are pressed, the circuit will display the
INTRODUCTION current time, starting at 12:00 on reset. Pressing SW1
The purpose of this application note is to design a clock will cause seconds to be displayed. The time is set by
while multiplexing the features as much as possible, pressing SW2 to advance minutes, and SW3 to
allowing
标签:PIC定时器
PIC 使用一个定时器控制led和按键
本地下载

评论