error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
-
I'm running the development branch and am getting the following when uploading a sketch:
Arduino: 1.6.4 (Mac OS X), Board: "Arduino Nano, ATmega328" In file included from motion.ino:30:0: /Users/..../Documents/Arduino3dev/libraries/MySensors/MySensor.h:285: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. ^ motion:38: error: 'MySensor' does not name a type motion.ino: In function 'void setup()': motion:44: error: 'gw' was not declared in this scope motion.ino: In function 'void loop()': motion:61: error: 'gw' was not declared in this scope 'MySensor' does not name a typeWhere can I find some documentation on configuring sensors running the v2 beta release?
Thanks
-
You're missing:
// Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69(or serial gw, or rs485 or what ever)
BEFORE
#include <MySensor.h> -
Post your sketch but by the looks on your errors can it be that you use code for 1.5 and 2.0 as library? In 1.5 you define gw.begin for example (motion:44: error: 'gw' was not declared in this scope) but thats removed in 2.0. You cant use the example sketches in the homepage for dev branch.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login