Traditional Culture Encyclopedia - Traditional festivals - How does c52 single chip microcomputer make the fan rotate only 10 second?
How does c52 single chip microcomputer make the fan rotate only 10 second?
Set the timer.
1. According to the specific model and programming environment of C52 single chip microcomputer, the initial count value of the timer is set to meet the delay of 10 second by using appropriate timer configuration.
2. Start the timer, wait for the timer counter to count, and turn off the fan by controlling the corresponding IO pin after the timer counts.
- Previous article:Making method and formula of pastry
- Next article:Car fuel tank cast iron or lead alloy good
- Related articles
- Rules of freestyle wrestling competition
- Provisions on the Administration of Fishery Fishing Licenses (2002)
- How to write an essay on my journey with Hapu
- Matters needing attention in the use of woodworking glue
- Textbook of Tongzhou traditional culture course
- What version has the duke of mount deer's role image changed? What are the * *?
- What are the forms of guessing lantern riddles?
- What are the origins of the eight major cuisines?
- English Essay Which one do you prefer? What is the reason? 80-100 words.
- What are the characteristics of traditional interpersonal relationships in China? What's the trend today?