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.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Getting system time from the controller
Troubleshooting • 11 days ago • dpcons 7 days ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Some sensors permanently fail after one/two years
Troubleshooting • 25 Jul 2024, 17:17 • Kokosnoot 25 Jul 2024, 17:17 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59