SAA1064 chip microcontroller driver

Publisher:RadiantBreezeLatest update time:2015-07-09 Source: 51hei Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere


 

main()
{
unsigned char a[8];a[0]=0x77;//
a[1]= N_leab_led_7[0];
a[2]= N_leab_led_7[1];
a[3]= N_leab_led_7[2];
a[4]= N_leab_led_7[3];
WriteNByte(0x70,0x00,a,5); ////0X70 ->0 1 1 1 0 A1 A0 R/W A1 A0(11:ADR=VCC 10:5/ 8VCC 01:3/8VCC 00:VEE) R/W (1:READ 0:WRITE)//0x00 -> 0 0 0 0 0 sc sb sa sc sb sa(000:control register 001:digit 1 010:digit 2 011:digit 3 011:digit 4) //0x77-> 0 c6 c5 c4 c3 c2 c1 c0 c0 = 0 static display display digit 1 digit 2 c0 = 1 alternate display digit 1 digit 3 +digit 2 digit 4 // c1 = 0 turn off digit 1 digit 3 c1 = 1 turn on digit 1 digit 3 // c2 = 0 turn off digit 2 digit 4 c2 = 1 turn on digit 2 digit 4 // C3 = 1 test turn on all break codes // c6 c5 c4 corresponds to 3 6 12MA
while( 1)
{}}

Reference address:SAA1064 chip microcontroller driver

Previous article:AT89S52+TLC5615 driver
Next article:51 single chip electronic clock

Popular Resources
Popular amplifiers
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号