Without further ado, here are the pictures.
/* Main.c file generated by New Project wizard
*
* Created: Saturday, November 25, 2017
* Processor: 80C52
* Compiler: Keil for 8051
* Author: Chenchong
*/
#include #include #define uchar unsigned char #define uint unsigned int sbit LED=P1^0; void DelayXms(uint x) { flying i; while(x--) { for(i=0;i<120;i++); } } void main(void) { // Write your code here P0=0xfe;//1111 1110 while (1) { P0=_crol_(P0,1);//1111 1101→1111 1011 DelayXms(150); } ; }
Previous article:80C51 MCU simulation example 100-1 LED flashing
Next article:Serial port and serial communication technology of MCS-51 single chip microcomputer
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Interrupt-Based Ambient Light and Environment Sensor Node Reference Design for Sub-1 GHz Networks
- STM32CUbe usage issues
- [Rawpixel RVB2601 development board trial experience] 1. Multi-task lighting RGB
- 2833xAdcSoc Programming Example
- Differences between MPU and MCU and selection tips
- AT32F425-Evaluation Report-FreeRTOS_08
- Low-power MCUs and smart buildings
- Value Series MSP430 LaunchPad Development Kit
- EEWORLD University Hall----Live Replay: Rochester Rochester Electronic Semiconductor Full-cycle Solutions Help You Meet the Challenges of Supply Chain Disruptions and Component Discontinuation
- Follow us to get a gift: MDO3PWR power analysis module, you can pretend to be an expert even if you don’t know much about power supply