(deleted)
Read the how get the most out of this forum sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code in code tags.
No, you are not allowed to have two loop functions with no arguments. You could have learned this faster by trying than by posting.
Either do everything that you want to do in the existing loop() function or put what you want to do in a function with a different name and call it from the existing loop() function. Of course there are other options but they become increasingly complex.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.