Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Embeded-SCM Develop SCM
  • Category : SCM
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :liny*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
/* details of the program: * use AT89S51 microcontroller to produce "di, di,..." The alarm sound is output from P3.2 port, generating frequency of 1KHz. * 1KHZ square wave outputs 0.2 seconds from P3.2, followed by 0.2 seconds from P3.2 output level signal, so that it can be circulated to form the alarm sound we need. * * programming methods * (1. In life we often go to all kinds of alarm sounds, such as "di, di,..." It's the usual kind of voice call, * but for the sound of the alarm, for 0.2 seconds, then for 0.2 seconds, the cycle goes on, assuming that the frequency of the beep is 1KHz, * because of the above signal, we divide the above signal into two parts, one of which is 1KHZ square wave, * take up to 0.2 seconds; The other part is the level, which also takes 0.2 seconds. Therefore, we use the timing/counter T0 of the SCM to be the timing. * can be timed for 0.2 seconds; At the same time, it is also needed to generate 1KHZ square wave with single chip microcomputer, and 1KHZ square wave signal period is 1ms, * the high level takes up 0.5ms and the low level occupies 0.5 ms, so the timer T0 is also used to complete the time of 0.5 ms. * finally, the timing time of the time/counter T0 can be selected as 0.5 ms, while the timing 0.2 seconds is 400 times as much as 0.5 ms. * this means that a time of 0.2 seconds will be reached 400 times per half ms time. * /
Packet file list
(Preview for download)
didi.c
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.