What ti do in arduino if lvalue required as left operand of assignment
Answers
Answered by
0
Answer:
The code is reading in buttons though an analogue port. This is where the error is (in void(loop)):
while (count < 5){
buttonPushed(analogPin) = tmp;
for (j = 0; j < 5; j++) {
while (tmp == 0) { tmp = buttonPushed(analogPin); } //something wrong with the first half of this line!
Similar questions
Math,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago
Science,
1 year ago
Chemistry,
1 year ago