摘要
加法器是一种用作加法运算的电子产品,在人们生活中适用性比较广泛,本次设计是用单片机来设计的两位十进制加法器。该设计系统是以STC89C52为单片机,P1口作为输入端,外接3X4的键盘,通过键盘扫描来对输入数的控制,系统采用LED数码管作为显示器,软件程序采用均采用C语言编写,便于移植与升级。两位十进制加法器可以实现简单的两位数相加的运算。
Adder is a kind of popular electronic product used as additive operation. This design is to use single chip micro- computer to design two decimal adder. This design system takes STC89C52 as single chip microcomputer, P1 mouth as input, USES LED digital tube as display and external 3x4 keyboard. The input number is controlled through the keyboard scanning and the software program is compiled by C language, easy to transplant and upgrade. Two decimal system adder can achieve a sim- ple addition operation of two digit number.
出处
《黔南民族师范学院学报》
2013年第5期94-96,共3页
Journal of Qiannan Normal University for Nationalities
基金
黔南民族师范学院院级规划项目(qnsy2011gh07)
关键词
加法器
数码管
单片机
adder
digital tube
single chip microcomputer