four inputs
could be
a var portb.0
b var portb.2
c var porta.3
d var portc.3
outputs could be
e var portc.0
f var portc.1
g var portc.2
formula e = a or b and c ,f= d and c or b, g = b and c and d
code
e = (a or b)and c
f= (d and c) or b
g=(b and c)and d
Bookmarks