Hi everyone hope you all are doing well!
I’m working on a project that requires one limit-switch or button to be High and one Limit or button to be low before sending a high signal to a relay.
I’ve checked out the Button-Tutorial and see how it works, I tried to write something and defined another pin and defined that pin as an output but receive an error that reads "Expected- Initializer-before ‘-’ token.
Hope someone can help with this, do I need to use something other than an If-Statement? If so where can I find a little literature or what should I search for, a while-loop for example?
Thanks for all the help and for all your time!