??? 01/13/06 13:56 Read: times |
#107281 - a few comments Responding to: ???'s previous message |
What should happen is if p2.2 is set an interrupt occurs
I know of no derivative where P2.2 can generate an interrupt, which are you using MOV P2,#0 ; Clears port two then NOTHING will affect the state of any P2 pin Erik What I would suggest is that you read up in "the bible" on using a timer as a counter. Then use one timer for your time and another as the counter. If you need one more timer choose a derivative with T2, A PCA or a CGA. |
Topic | Author | Date |
timer/ counter | 01/01/70 00:00 | |
clarify | 01/01/70 00:00 | |
To rephase my Question | 01/01/70 00:00 | |
what is "the event counter" | 01/01/70 00:00 | |
Event counter explained | 01/01/70 00:00 | |
I know what the datasheet (the "bible") | 01/01/70 00:00 | |
Try prioritizing | 01/01/70 00:00 | |
About Prioritizing | 01/01/70 00:00 | |
Priority | 01/01/70 00:00 | |
Should of been original question sorry ! | 01/01/70 00:00 | |
a few comments | 01/01/70 00:00 | |
i dont have to stick to P2.2 | 01/01/70 00:00 | |
never us a register for a dedicated purp | 01/01/70 00:00 | |
Thanks for tip | 01/01/70 00:00 | |
you do not need that | 01/01/70 00:00 | |
thanks![]() | 01/01/70 00:00 |