Hi boys! Here I have digital gate. How would it be a Not Gate??
Last edited on
see you bro!
Last edited on
bitwise not is ~.
unsigned int input;
int notgate(int in)
{
return ~in;
}
I don't know if that helps at all, but it seems like that would be the backbone of whatever you are trying to do?
Last edited on
Oh, okay, thank you! would this be the NAND gate?
Last edited on
¿so a P2E has three inputs?
@jonnin, ¿could you please use code tags when posting code?