Compiling Sensebender Micro with latest 2.1.0 version of MySensors library ????
-
Hi all,
I've been trying for a couple of days to get the SensebenderMicro.ino file compiling with the 2.1.0 version version of MySensors library.
There are some missing (sub) libraries like RunningAverage, sha204 and SI7021; I've copied these from MySensors 1.5.4 release.
I've also added MySensors 2.1.0 libray, but when compiling SensebenderMicro.ino (according to comment, version 1.4), I get
compiler error:In function `setup':
...\SensebenderMicro.ino:168: undefined reference to `getControllerConfig()'
My question: where is a complete (and consistent) description of (re)building the sketch for Sensebender micro?
Currently I'm feeling kind of lost.Ger
-
@Ger-Kersten I don't know a good answer to your question (I don't use the Sensebender) but I think the solution for getControllerConfig is available at https://forum.mysensors.org/post/57603
-
@Ger-Kersten did you try the latest version of the SensebenderMicro sketch from github? -> https://github.com/mysensors/SensebenderMicro/tree/master/Arduino/SensebenderMicro
All the other libraries have now been collected here -> https://github.com/mysensors/MySensorsArduinoExamples
-
hi Tomas,
thanks for the links. I'll try again with these versions, will respond wether it works or not.
Ger
-
@korttoma
hi Tomas,it was a beginners error. Using latest github sketch for SensebenderMicro.ino, MySensors lib 2.1.0 and the needed libraries from the MySensorsArduinoExamples just worked out of the box.
Thanks again for the links.
-
I still have the same error message. I've updated libraries. I'm currently using Arduino IDE 1.8.5 (W10 app) if that matters.
Any ideas on how to fix this? I've got 3 sensebender micro's that would be of better use as temperature sensors than just lying on my desk...
-
@espenf with "the same", do you mean the error message in the first post in this thread? If so, the posted solution has been verified as working. Could you explain a bit more about what you have tried?
-
Yes. I've tried to compile using the SensebenderMicro.ino sketch from mysensors.org/hardware/micro and the MySensors 2.1.0 library plus the known "MySensorsArduinoExamples-master"-libraries.
I've also tried to update the libraries from within the IDE, but that did not work, so I've started over with the libraries from github again after reading this topic.
I guess I've overlooked something, but i'm not quite sure where to go from here.
Edit five minutes later:
Yep, I've overlooked this little detail from that thread @mrfalkvidd refered to:
Fixed, seems in V2.1.1 it changed to "getControllerConfig".
-
@espenf nice work. Thanks for reporting back.