Newbe error question: #error No forward link or gateway feature activated
-
Hi,
I'm very new to this. Trying to construct the dimmable mirror. I added the libraries and tried to verify the code. I did change #include <MySensor.h> to #include <MySensors.h> because an error message said couldn't find MySensor. Now it get this error message and not sure what means:
C:\Users\Documents\Arduino\libraries\MySensors-master/MySensors.h:287:4: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
#error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
Thanks
-
Did you use the following example?
-
No, I used https://forum.mysensors.org/topic/936/backlit-dimmable-led-mirror-with-motion-sensor/2
I tried the code from that example and had no issues.
-
Sorry, had no issues when I tried https://www.mysensors.org/build/dimmer
-
https://forum.mysensors.org/topic/936/backlit-dimmable-led-mirror-with-motion-sensor/2
is for MySensors 1.x. It won't work with 2.x unless it is converted.
-
Where do I go to find out what need to be done and how to convert it?
Thanks
-
-
Thanks, got it working. There still is a error message:
In function 'void loop()':
warning: comparison is always false due to limited range of data type [-Wtype-limits]
fadeLevel = fadeLevel < 0 ? 0 : fadeLevel;
Not to worry??
-
Nothing to worry about.