I have trouble with my code i keep getting Ivalue Required as left operand of assignment as an error, i saw a forum and i didnt understand, Help me, the problem is in the commented if statement
keypad_test.ino (1.96 KB)
I have trouble with my code i keep getting Ivalue Required as left operand of assignment as an error, i saw a forum and i didnt understand, Help me, the problem is in the commented if statement
keypad_test.ino (1.96 KB)
if(slot = 7) {
In C++, which is the programming language used by the Arduino, = is used to assign a value to a variable and == is used to compare two values. Check your code where you are comparing two values
Oh sorry about that, i didnt understand the == and = things, thank you so much!! also didnt reply since i just gave up.
idonthaveanarduinoboar:
also didnt reply since i just gave up.
Never give up
...R