Hi, I am very new to Arduino coding and I am trying to make a solenoid valve code to run on an if..else statement. However, I keep getting errors like:
'solenoidPin1' was not declared in this scope. Here is my code so far, with an if else statement at the bottom. The void setup() section is...