Traditional Culture Encyclopedia - Photography major - It's the first time to light Led lights with Keil Vision 3 software. How to write the program?
It's the first time to light Led lights with Keil Vision 3 software. How to write the program?
Take 5 1 single chip microcomputer as an example.
The LED is connected to the P 1.0 port.
# contains "reg5 1.h"
sbit led=p 1^0;
Mail ()
{
LED = 0; //Initialize the LED to OFF.
while( 1)
{
LED = 1; //light the LED.
}
}
end
The most important thing is to look at your hardware
- Previous article:What color is good for green and white?
- Next article:Is winter suitable for taking wedding photos?
- Related articles
- Is it illegal for photography agencies to bring guests into western Sichuan?
- Basic points of photographic framing
- Linyi yiben line
- What are the tips for men's photography?
- Landscape portrait photography
- Learn photography and take pictures of scenery. Do you have any recommendations for buying a second-hand paraxial camera?
- Work photos of male photographers
- Spring Festival travel route raiders, these six landmark attractions hurry to collect!
- Wuyi niche destination
- Which city does Chuxiong in Yunnan belong to?