At first, sorry for borring you with my dumb ass question. Totally newbie trying to do a simple thing and canīt figure it out.
When a 12f675 pin goes low, another pin goes high (to turn on a lamp). Done.
When the same pin goes high (by the internall pull-up resistor) the pin with a lamp delay for 5 seconds and fade out (with pwm) to zero. Done.
But thatīs drive me crazy:
Iīve need some kind of stuff (code of course) that when:
If a third ping goes high and if the first pin changes to low or if lamp is in delay, delay was cancelled (but yet fade off)
Try to do with picbasic interrupt, Darrelīs interrupt and nothing. Can anyone show me some directions, code samples, anything :-)
Thanks and sorry for the bad English.
Bookmarks