piclist 1997\07\07\221056a >
Thread: Rising/Falling Edges
www.piclist.com/techref/index.htm?key=risingfalling+edges
flavicon
face BY : Daniel Najemy email (remove spam text)



Easy Question (for you pro's): I want to read a non-interrupt driven
port on a PIC16C74 and detect a rising or falling edge. Any ideas on
the best way to implement this? I'm quite the rookie here -this is
my first design. Reasoning tells me to :

              Read the port
              Store it's value
              Read it again
              Compare the values

If the values are different - i've detected the edge change. Does
this make sense? How could I implement this in C?

Thanks -
<9707080208.AB00038@imggw1.us.dg.com>

See also: www.piclist.com/techref/index.htm?key=risingfalling+edges

Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Rising/Falling Edges

month overview.

new search...