Method to reveal sketch inside node or g/w
-
What I want and can't seen to find is the method if it exists, to be able to see what the sketch inside of a node is.
At this time I can,'t figure this out and am stuck with one of two methods both not good.
1 re install new sketch from IDE 1.6.5 over existing first changing perameters and see what happens
2 choose under "recent shetch" a recent sketch from arduino IDE, modify and re install.
Both of these ways work, but at times the changes I think to try may well be the one that is in the promini now.
So I would like a way to see what is under the hood prior to playing with the sketch.
-
@5546dug the sketch is compiled into microprocessor code before it is uploaded to the Arduino, so your sketch does not exist on the Arduino. Therefore there is no sketch to reveal.
Saving the sketches under a new name after each upload, as you suggest, is probably the easiest solution. A more advanced solution would be to use a code versioning system like git.
-
@mfalkvidd at least I now know why. Guess it is back to saving on IDE
Thx
-
If you have added that in your skript the node will send its version/name to the controller. If you change that name everytime you change the sketch you should be able too see which sketch is installed. Otherwise follow the other answers.
-
I would suggest looking into git, for versioning the firmwares.. It makes things a lot easier when you can see the changes done over time..
git doesn't need an external server in order to run..
go to git-scm.com for documentation..
-
@LastSamurai good idea! Will give it a go!
Suggested Topics
-
PIR motion sensor that sends cloud notifications via wifi
Development • 25 Nov 2014, 07:52 • vekraman76 25 Nov 2014, 09:27 -
Can't send message over arduino serial monitor
Troubleshooting • 11 Dec 2014, 05:53 • botbite 28 Jan 2015, 20:55 -
💬 Snail Vision 7 Pixel RGB I²C Camera
OpenHardware.io • 11 Jan 2017, 22:07 • openhardware.io 11 Jan 2017, 22:07 -
💬 MDMSNode "Lighting"
OpenHardware.io • 7 Sept 2016, 19:43 • openhardware.io 30 Mar 2019, 11:22 -
Battery level don't show up
Troubleshooting • 10 Dec 2014, 20:06 • cheesepower 14 Dec 2014, 19:21 -
💬 MDMSNode "Lighting X2"
OpenHardware.io • 29 May 2017, 07:56 • openhardware.io 27 Apr 2019, 08:23 -
💬 MDMSNode "Power"
OpenHardware.io • 22 Mar 2017, 20:15 • openhardware.io 5 Oct 2017, 16:07 -
💬 Arduino Based Serial Controller For Welding Machine
OpenHardware.io • 27 Aug 2021, 07:05 • openhardware.io 27 Aug 2021, 07:05