Skip to content

Conversation

@berndbausch
Copy link

Variable "myValue" in function "loop()" was erroneously declared as
"byte", which made it incompatible with the "int" return code of
function call analogRead().
This change declares "myValue" as int, thereby fixing the problem

Variable "myValue" in function loop() was erroneously declared as "byte", which made it incompatible with the "int" return code of function call analogRead().
@ToniCorinne
Copy link

Thanks so much! We are leaving this as-is for other tutorial users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants