which is the amount of time requested.anything from 1 second to 5 seconds but in 1/10th increments.
then when the PIC reaches the inputted time it then causes a port to go high.
a presettable timer
I was just curious about manchester as I am new at this PIC stuff.
Your question is somewhat on the vague side.
How about a keypad? The user could enter a two digit number by pressing two keys, you could debounce and decode that, and on release of the second key you could start counting off time and raise the port high when the time has expired. For example:
Code:
port=0
num=getkey()*10 // assume getkey returns a value from 0-9 when the key is lifted
num+=getkey()
while num
delay(100ms)
num--
end while
port=1