Hi!
A newbie question...
I would like to create my own functions called from inside the main loop. How to do that?
My rosty knowledge from the C-language doesn't work here....
regards,
Railroader
sketch_feb18a_SOS.ino (698 Bytes)
Hi!
A newbie question...
I would like to create my own functions called from inside the main loop. How to do that?
My rosty knowledge from the C-language doesn't work here....
regards,
Railroader
sketch_feb18a_SOS.ino (698 Bytes)
If possible you should always post code directly in the forum thread as text using code tags (</> button on the toolbar). This will make it easy for anyone to look at it, which will increase the likelihood of you getting help. If the sketch is longer than the forum will allow then it's ok to add it as an attachment but in this case your code is nowhere near the 9000 character limit.
Railroader:
called from inside the main loop.
Please explain exactly what you mean by that. Your code already has some functions being called from inside loop().
If you are trying to flash the built in led it is not on 12, it's on 13.
I changed 12 to 13 and the led blinks SOS
Thanks a lot!
Thanks for the tip about code directly in the question. I'm used to another Forum only allowing include files.
Haha, what a stupid mistake I made, starting from a very early try to compile and download code. Blindness hit my eyes.
Thanks! I could not find the syntax for local subfunctions but now I have a working example.
Regards,
Railroader.