hi, i'm making a little program on a 16f84a
an lcd working in 4 bit mode, 3 buttons: ra1 ra2 and rb0
the lcd works on rb4...rb7 / rb3 rb2 ctrl lines
i select an time interval from 0 to 1000 ms
it shows that time on the lcd
and when i press rb0 it shots only a pulse with the specified duration. ___|---|_
the problem is the following.
i run the bas on proteus and i set up the "width " of the single pulse , the loop works ...
i press rb0
and the one shot pulse goes ok!!!
but
when pic returns from interrupt
it goes to hell
gets out of mainloop...
:mad: and when i press again rb0 .... it shots ok
but never returns to mainloop.
can anyone share any proton picbasic example code with RB0 ....?
please.
next thread i 'll put the code, and dsn files ...
thanks my friends