First on the code: #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit SegSel=P2^6; //Segment selection sbit BitSel=P2^7;
Tag: C51
Microcontroller shift operation; use of _crol_ and _cror_
Let the first small light flash sequentially to the last one, you can use shift to achieve the purpose. The
Detecting target MCU…
Detecting target MCU… The microcontroller is not easy to burn out. Solution: Connect P1.0 and P1.1 to GND with DuPont