You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps
- press Ctrl-T for autoformatting your code
- do a rightclick with the mouse and choose "copy for forum"
- paste clipboard into write-window of a posting
The above text was automatically written down after typing a short hotkey-string which makes use of
https://www.autohotkey.com/download/
here is the autohotkey-script for doing this
:R:postcode::You should post code by using code-tags`rThere is an automatic function for doing this in the Arduino-IDE`rjust three steps`r1) press
best regards Stefan