-
Notifications
You must be signed in to change notification settings - Fork 8
Two instances of sketch running after startup #2
Comments
Is it possible that the sketch is being executed twice? Could you attach the content of |
Hi and thank you for your attention. |
Odd. What happens if you remove the line from Does killing both ( |
I just tried to killall both processes and run the sketch from the terminal, and I still have double messages. |
so this seems to depend from the sketch, but why I have two twin processes? |
What happens if you replace the content of the sketch with a dummy sketch (just empty Does it still spawn two instances? |
Hi, I've tried a new empty sketch with just one println"something"; command in the setup. |
And you're testing on a vanilla (unmodified) Raspbian image? One idea that I had: perhaps your window manager re-opens the applications automatically, that were open at shutdown? Does it also appear when you make sure the sketches have terminated before you restart? |
Hi, I don't know if it's 'uploadtopi' related problem, but as soon as I upload a sketch it works perfectly, instead as I reboot the raspberry, and the sketch run autonomously, the sketch behave strangely...
the sketch uses the http request library to send message as a telegram bot, and normally it works ok.
But if the sketch autorun after a reboot, the sketch sends two time the same message every time.
Do you have any idea?
Thanks.
The text was updated successfully, but these errors were encountered: