RTCC
Armored Cars
Posts: 172
Can I use RTCC to trigger an interrupt and hold the intterupt routine until RTCC is cleared.· (RTCC is connected to an external source.)
This is basically what I am thinking of,
Interrupt
program stuff....
loop
jb·RTCC,loop············· ;hold until RTCC is cleared.
ret
This is basically what I am thinking of,
Interrupt
program stuff....
loop
jb·RTCC,loop············· ;hold until RTCC is cleared.
ret
Comments
It doesn't work like a normal I/O pin.
You could tie the RTCC pin to another "normal" I/O pin and check the status of that pin.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
"One experiment is worth a thousand theories"
·
Because the RTCC can never be an output so there should never be a conflict.
Otherwise I would use a reasonable value (1K ?) resistor to the I/O pin.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
"One experiment is worth a thousand theories"
·