yes, it is going to be difficult, thats why im in here
i have decided to make a schemtic of the whole board. ill might even desolder one of my boards so i can see the layout better.
what are the basic priciples on uing an input control a trans?
It sounds like your saying i need portc.2 as an input throughout the whole process.
i can trisc more then once, right?
i already tried a code like this with no success: 'some things are wrong for simplicity.
'-----------------------------------------
main:
trisc=%11111011 'portc.2 as output
if portb.0 = 1 then 'if i press a button
gosub fire
endif
goto main
fire:
portc.2 = 1 'make transistor active
pause 500
trisc=%11111111 'portc.2 as input
pause 500
RETURN
'--------------------------------------------
Bookmarks