Forum: µC & Digital Electronics sleep mode for AT89C51CC01

Author: Shaik Piebe (shaik)
Posted on:

Rate this post
0 useful
not useful
hello all,
I am working with AT89C51CC01.
I want to make one program in which i have one i/p pin say P1_0.
If the pin state is not changed(from 1 to 0 or viceversa) in 1 minute 
then the program goes into Sleep mode.
and when the pin state is changed(from 0 to 1 or viceversa) then program 
comes out from sleep mode n continue to running normally.

please give ur idea oe sugestion for this problem.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.