💬 Using Arduino
-
The MySensors library is missing from the arduino library manager again. Should I just log a new issue and reference the previous one?
-
@benji_lb yes please do. Could you post the link to the issue here when it has been created so we can follow it?
-
@benji_lb
Fixed. I noticed I was running an older version of the software. Uninstalled completely and reinstalled, worked fine.Where would be the best place for an Arduino newbie to post to get some assistance? I'm looking at Gateways and i'm unsure which direction to take, and where would be best to post. Would this be OK? https://forum.mysensors.org/category/13/development
-
@benji_lb
Fixed. I noticed I was running an older version of the software. Uninstalled completely and reinstalled, worked fine.Where would be the best place for an Arduino newbie to post to get some assistance? I'm looking at Gateways and i'm unsure which direction to take, and where would be best to post. Would this be OK? https://forum.mysensors.org/category/13/development
-
Today, the "Basic Structure" section contains just a "normal" Arduino structure.
Wouldn't it be useful to also add a slightly extended version mentioning the split of the original Arduino-setup() to begin()->presentation()->setup() when using recent MySenors libs (since 2.1.0)?
This is not very transparent to quite a few users, and yet some of our examples do either not mention "before()" at all or do not make use of the new logical execution time of setup(), even if this would be helpful (!pcReceived in WaterMeter-Sketch, getControllerConfig(), for metric in Temperature, just to mention some examples) .
Also the text order of setup() still beeing above presentation() in at least some examples may be technically irrelevant but nevertheless misleading to some extend. -
Today, the "Basic Structure" section contains just a "normal" Arduino structure.
Wouldn't it be useful to also add a slightly extended version mentioning the split of the original Arduino-setup() to begin()->presentation()->setup() when using recent MySenors libs (since 2.1.0)?
This is not very transparent to quite a few users, and yet some of our examples do either not mention "before()" at all or do not make use of the new logical execution time of setup(), even if this would be helpful (!pcReceived in WaterMeter-Sketch, getControllerConfig(), for metric in Temperature, just to mention some examples) .
Also the text order of setup() still beeing above presentation() in at least some examples may be technically irrelevant but nevertheless misleading to some extend.@rejoe2 great feedback, thanks! For the examples, I have created https://github.com/mysensors/MySensors/issues/927
I have updated the "Using Arduino " page. I am not 100% sure I got it right and easy to understand so feedback is very welcome.
-
@rejoe2 great feedback, thanks! For the examples, I have created https://github.com/mysensors/MySensors/issues/927
I have updated the "Using Arduino " page. I am not 100% sure I got it right and easy to understand so feedback is very welcome.
@mfalkvidd
Your understanding of my suggestion seems to be 100% correct. I will add some additional comments and some (too complicated but working examples) as links at the github page.