Location:
Search - 595 ds
Search list
Description: ds1302数据读取,并送595显示,另附proteus仿真电路-DS1302 data read, and sent to 595 showed that separate Proteus simulation circuit
Platform: |
Size: 52224 |
Author: 狂热者 |
Hits:
Description: 74HC595 的驱动。任意3IO即可
/*************************************************************
IC :AT89S52
晶振:12MHz
硬件:1片 HC595
*************************************************************/
#include<intrins.h>
sbit send595=P2^7 //send data to 595 14 脚 DS
sbit shift595=P2^6 //shift data 11 脚 移位
sbit lock595=P2^5 //lock and display data 12 脚 锁存
//sbit shut595=P //disable 595 output 10 脚 输出允许 shut595=1 即关闭输出-driver for 74HC595
Platform: |
Size: 1024 |
Author: 付茂可 |
Hits: