Please provide a "truth table" as example of what you expect:
Pin 1 Pin 2 Pin 0
0 0 ?
1 0 ?
0 1 ?
1 1 ?
bcf
Please provide a "truth table" as example of what you expect:
Pin 1 Pin 2 Pin 0
0 0 ?
1 0 ?
0 1 ?
1 1 ?
bcf
Hello,
Well something like this:
pin0 pin1 pin2
0 0 0
0 1 1
1 0 1
1 1 0
I want the pic to do exactly what a 7486 TTL chip will do
from signals generated by other code.
example:
sub1
portb.0 high
pause 500
portb.0 low
pause 500
return
sub2
if portb.1 = 1
then portb.0 high
else
return
I need to control 1 output xor from 2 inputs.
It's really simple to combine 2 outputs into a 7486 xor
chip to achieve this, but I am sure it can be done internaly
in a pic.. In the above example the first sub would always output
a flashing signal, whereas sub2 would output a steady signal only
if sub 1 was not running. I haven't had time to get back to this
but I have some ideas as to how to do it.
thanks for asking.
JS
hello test some like this:
PIN VAR PORTB.0
OUT1 VAR BIT
OUT2 VAR BIT
PIN = OUT1 ^^ OUT2 ' alternative syntax is PIN = OUT1 XOR OUT2
bye
Roberto
Bookmarks