B4R Question Help with NAND gate

Beja

Expert
Licensed User
Longtime User
Hi all
I am developing a b4r project that's similar but not really, a machine that will operate using two switches ..
Say pin7 is switch1 and pin8 is switch2
Pin9 is the output to the machine. The two input pins represent the two NAND gate inputs. You know the truth table for NAND gate but I don't know how to translate it to b4r code.
Any help appreciated.
 
Top