Hello Tear,
Bruce beat me to the punch..<g> I was typing away, and my automessage came on.... Bruce typed what I was going to type.
Dwayne
Hello Tear,
Bruce beat me to the punch..<g> I was typing away, and my automessage came on.... Bruce typed what I was going to type.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Hello Tear,
Using Bruces Code...
TRISA = %00000011
TRISB = %00000000
loop1:
if PORTA.0 = 1 then
PORTB.0 = 1
else
PORTB.0 = 0
endif
goto loop1
end
I removed one one of his code (3rd line from the bottom)
high PORTB.1
I think without this line, you may have what you are looking for...
If Porta is on, PortB is on.... If POrta is off.. POrt b is off...
This also assumes Portb will STAY on until Port A is off. (then PortB will turn off).
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks