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)
{}}
Previous article:AT89S52+TLC5615 driver
Next article:51 single chip electronic clock
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Linux turns 30 today
- AD18 turns on 3D mode and then goes black. What's going on?
- Can't IAR for AVR use Atmel-ICE for online debugging?
- 【Telink B91 Universal Development Kit】Development environment, burning tool construction
- Looking for a low-cost voltage and current acquisition solution
- How to replace the motherboard power management chip
- Experience in Application Test of DSP External SRAM
- ADS amplifierMRF8P9040N verification simulation
- The most detailed summary of embedded system knowledge and interface technology ever!
- 8N60MOS field effect tube product details, original supply, high practical value