Error while compiling the Ethernet Gateway
-
Hello,
I tried to change a few options and now I cannot compile the gateway with "#define WITH_LEDS_BLINKING" in MyConfig.h:
del:109: error: no matching function for call to 'MySensor::MySensor(MyTransportNRF24&, MyHwATMega328&, int, int, int)' MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN);If I disable it, it complies fine. Any idea what the problem may be? I am using Arduino 1.6.7 on Windows
-
This only happens when #define WITH_LEDS_BLINKING" in MyConfig.h is set.
Maybe @hek can help?@alexsh1
in MyConfig.h #define WITH_LEDS_BLINKING" is commented out :(/**********************************
- Information LEDs blinking
***********************************/
// This feature enables LEDs blinking on message receive, transmit
// or if some error occured. This was commonly used only in gateways,
// but now can be used in any sensor node. Also the LEDs can now be
// disabled in the gateway.
// #define WITH_LEDS_BLINKING
// The following setting allows you to inverse the blinking feature WITH_LEDS_BLINKING
// When WITH_LEDS_BLINKING_INVERSE is enabled LEDSs are normally turned on and switches
// off when blinking//#define WITH_LEDS_BLINKING_INVERSE
- Information LEDs blinking
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