CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
other
> 51 single chip microcomputer, electric light LED (c)
51 single chip microcomputer, electric light LED (c)
Time:10-20
Application:
#include
Sbit LED=P0 ^ 0;//use P0.0 mouth leds
Sbit ADDR0 P1=^ 0;
P1 sbit ADDR1=^ 1;
Sbit ADDR2=p ^ 2;
Sbit ADDR3 P1=^ 3;
Sbit ENLED=P1 ^ 4;
Void main ()
{
ENLED=0;
ADDR3=1;
ADDR2=1;
ADDR1=1;
ADDR0=0;
LED=0;
while(1);
}
Page link:
https//www.codepudding.com/other/69545.html
Prev:
This program is to realize what function
Next:
In the use of the problems in the process of ADS - 2015
Tags:
SCM/industrial
Related
Links:
CodePudding