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 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
NODs stop responding, but ping works.
Troubleshooting • 2 days ago • Marcin 2 days ago -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47