|
Post by papa on Nov 20, 2018 21:53:19 GMT
A Different Approach to the Node Choices Sketch ??The Multi-Choice Node sketch is getting large. I can & will delete or move some commentary in the sketch. The sketch's having many node options is good, but size probably makes it hard to read & learn from. I've considered how to address the Node Choice Sketch's size & readability. This post suggests one possibility of reorganizing. I will use the recent Sound Sensor Node code as a trial example. 1) This approach uses one main .ino file that includes variables & code used by ALL options or at least more than one option. 2) For each node option, this approach would also uses a .h header file that contains variables & code specific to ONLY ONE option. To see how I used the Sound Sensor Node as a trial example of this approach go to this post. See the thread above that post for more about making the Sound Sensor Node.
What do you think of this different approach?
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Nov 26, 2018 16:47:46 GMT
The approach makes sense. Would it be easier for the person downloading it to extract a zip archive? This though leads me to think about how we are tracking these builds. I find it difficult to know what is the latest version and where they are placed in the posts. Have you considered a repository?
However Papa, I give you the well deserved credit of doing the best job of keeping posts updated and navigable. The forum would be a mess without your guidance.
|
|
|
Post by papa on Nov 26, 2018 21:50:43 GMT
Joshua, I appreciate your affirmations like: "The [new] approach makes sense. ... Papa, I give you the well deserved credit of doing the best job of keeping posts updated and navigable. The forum would be a mess without your guidance." papa: I've put much time & thought into this forum. Such responses help keep me going (beyond my own interest). Joshua: "Would it be easier for the person downloading it to extract a zip archive? Have you considered a repository?" Joshua: "how we are tracking these builds. I find it difficult to know what is the latest version and where they are placed in the posts." papa: Good questions, whose issues I try to keep in mind.
|
|