#include
#define uchar unsigned char
void lcd_ini();
void ascii_change(void);
void delay();
void wri_add(uchar com);
void wri_dat(uchar com1);
void shan(void);
void disp();
void tkey(void);
sbit cs=P1^7;
sbit sid=P1^6;
sbit sclk=P1^5;
bit flag=1;
uchar dat,count,f=1;//f tests which unit is the current flashing state
uchar data clock[3]={23,45,12};
uchar code clockname[10]={"Beijing time:"};
uchar data num[6];
void main()
{
}
void lcd_ini()
{
}
{
}
{
}
void wri_add(uchar com)
{
}
{
}
void wri_dat(uchar com1)
{
}
{
void disp()
{
}
void shan(void)
{
goto return1;
next: if(f==2)
goto return1;
next1: if(f==3)
}
void intr0() interrupt 0 using 2
{
flag=~flag;//Judge whether to flash//
TR0=~TR0;
f=1;
}
{
return2:_nop_();
Previous article:Electronic clock developed by 51 single chip microcomputer + ds12c887 clock chip
Next article:Introduction to baud rate in 51 single chip microcomputer
Recommended ReadingLatest update time:2024-11-23 19:27
- Popular Resources
- Popular amplifiers
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- Single-chip microcomputer C language programming and simulation
- Signal Integrity and Power Integrity Analysis (Eric Bogatin)
- STC8 series MCU development guide: analysis and application of processors, programming and operating systems
- 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
- Calculation of wireless communication distance
- GPRS series application 12
- This year, friends in the RF field, please come and discuss.
- 【National Technology N32G430】Review of lighting up WS2812 lamp
- XMC4800 Review (V) Simple CAN to USB Converter
- 【Silicon Labs BG22-EK4108A Bluetooth Development Review】EFRConnect Mobile Applicationw and Issues
- Atmel launches first 8-bit high-speed MCU
- Fieldbus Control System FCS
- SOI CMOS Technology
- kicad-age_12-layer_ciaa_acc