thebest789456:
When I compile this code I get a "In function 'void loop()': error: 'detobel' was not declared in this scope".
Why am I getting this error?
Please modify your post and use the code button </>
so your code looks like this
and is easy to copy to a text editor. See How to use the Forum Your code is too long to study quickly without copying to a text editor.
When I can easily copy it to my text editor I may be able to help.
...R