I am using C++ and I have a question about implementing Digital Inputs in the code… Is Get() the function that means “true” or no? I basically want an if statement saying if DigitalInput1 is true, then this, but I am unsure which function to use to set the condition… =(
I don’t believe so, because C doesn’t have a bool data type. Traditionally boolean logic is done in C with integers with 0 for false and 1 for true. It’ll still work the same way. If you have