Compile errors with Nodemanager



  • Arduino: 1.8.3 (Windows 10), Board: "Arduino Uno"
    
    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\swbob\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\swbob\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\AppData\Local\Arduino15\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_971058 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_950827 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\swbob\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\swbob\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\swbob\AppData\Local\Arduino15\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\swbob\AppData\Local\Temp\arduino_build_971058 -warnings=default -build-cache C:\Users\swbob\AppData\Local\Temp\arduino_cache_950827 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino
    Using board 'uno' from platform in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2
    Using core 'arduino' from platform in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2
    Detecting libraries used...
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "nul"
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src\SPI.cpp" -o "nul"
    Generating function prototypes...
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\preproc\ctags_target_for_gcc_minus_e.cpp"
    "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\preproc\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os  -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager" "-IC:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors" "-IC:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI\src" "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp" -o "C:\Users\swbob\AppData\Local\Temp\arduino_build_971058\sketch\My.Node.Managed.Motion.Sensor.ino.cpp.o"
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:26:0,
    
                     from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:24,
    
                     from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.h:132:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
      uint8_t _interrupt_mode = MODE_NOT_DEFINED;
    
                                ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.h:132:28: note: suggested alternative: '_SIZE_T_DEFINED'
    
      uint8_t _interrupt_mode = MODE_NOT_DEFINED;
    
                                ^~~~~~~~~~~~~~~~
    
                                _SIZE_T_DEFINED
    
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:24:0,
    
                     from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:186:30: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
      uint8_t _interrupt_1_mode = MODE_NOT_DEFINED;
    
                                  ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:186:30: note: suggested alternative: '_SIZE_T_DEFINED'
    
      uint8_t _interrupt_1_mode = MODE_NOT_DEFINED;
    
                                  ^~~~~~~~~~~~~~~~
    
                                  _SIZE_T_DEFINED
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:187:30: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
      uint8_t _interrupt_2_mode = MODE_NOT_DEFINED;
    
                                  ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.h:187:30: note: suggested alternative: '_SIZE_T_DEFINED'
    
      uint8_t _interrupt_2_mode = MODE_NOT_DEFINED;
    
                                  ^~~~~~~~~~~~~~~~
    
                                  _SIZE_T_DEFINED
    
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82:0,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::setup()':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:205:43: error: 'getControllerConfig' was not declared in this scope
    
      if (_get_controller_config) _is_metric = getControllerConfig().isMetric;
    
                                               ^~~~~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:205:43: note: suggested alternative: 'ControllerConfig'
    
      if (_get_controller_config) _is_metric = getControllerConfig().isMetric;
    
                                               ^~~~~~~~~~~~~~~~~~~
    
                                               ControllerConfig
    
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:82:0,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::loop()':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:262:12: error: 'class MyMessage' has no member named 'clear'
    
       _message.clear();
    
                ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::_setupInterrupts()':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:489:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
       if (_interrupt_1_mode != MODE_NOT_DEFINED) {
    
                                ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:489:28: note: suggested alternative: '_SIZE_T_DEFINED'
    
       if (_interrupt_1_mode != MODE_NOT_DEFINED) {
    
                                ^~~~~~~~~~~~~~~~
    
                                _SIZE_T_DEFINED
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:500:28: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
       if (_interrupt_2_mode != MODE_NOT_DEFINED) {
    
                                ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:500:28: note: suggested alternative: '_SIZE_T_DEFINED'
    
       if (_interrupt_2_mode != MODE_NOT_DEFINED) {
    
                                ^~~~~~~~~~~~~~~~
    
                                _SIZE_T_DEFINED
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, int)':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:535:12: error: 'class MyMessage' has no member named 'clear'
    
       _message.clear();
    
                ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, float, uint8_t)':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:540:12: error: 'class MyMessage' has no member named 'clear'
    
       _message.clear();
    
                ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, double, uint8_t)':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:545:12: error: 'class MyMessage' has no member named 'clear'
    
       _message.clear();
    
                ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::sendMessage(uint8_t, uint8_t, const char*)':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:550:12: error: 'class MyMessage' has no member named 'clear'
    
       _message.clear();
    
                ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp: In member function 'void NodeManager::_sleep()':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:46: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
       int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED  : digitalPinToInterrupt(INTERRUPT_PIN_1);
    
                                                  ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:46: note: suggested alternative: '_SIZE_T_DEFINED'
    
       int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED  : digitalPinToInterrupt(INTERRUPT_PIN_1);
    
                                                  ^~~~~~~~~~~~~~~~
    
                                                  _SIZE_T_DEFINED
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:65: error: 'INTERRUPT_NOT_DEFINED' was not declared in this scope
    
       int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED  : digitalPinToInterrupt(INTERRUPT_PIN_1);
    
                                                                     ^~~~~~~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:648:65: note: suggested alternative: 'INTERRUPT_PIN_1'
    
       int interrupt_1_pin = _interrupt_1_mode == MODE_NOT_DEFINED ? INTERRUPT_NOT_DEFINED  : digitalPinToInterrupt(INTERRUPT_PIN_1);
    
                                                                     ^~~~~~~~~~~~~~~~~~~~~
    
                                                                     INTERRUPT_PIN_1
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Node.cpp:652:118: error: no matching function for call to 'sleep(int&, uint8_t&, int&, uint8_t&, long unsigned int, bool&)'
    
        interrupt = sleep(interrupt_1_pin,_interrupt_1_mode,interrupt_2_pin,_interrupt_2_mode,sleep_time*1000,_smart_sleep);
    
                                                                                                                          ^
    
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/MySensors.h:293:0,
    
                     from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:43,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:442:8: note: candidate: int8_t sleep(long unsigned int)
    
     int8_t sleep(unsigned long ms) {
    
            ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:442:8: note:   candidate expects 1 argument, 6 provided
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:474:8: note: candidate: int8_t sleep(uint8_t, uint8_t, long unsigned int)
    
     int8_t sleep(uint8_t interrupt, uint8_t mode, unsigned long ms) {
    
            ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:474:8: note:   candidate expects 3 arguments, 6 provided
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:507:8: note: candidate: int8_t sleep(uint8_t, uint8_t, uint8_t, uint8_t, long unsigned int)
    
     int8_t sleep(uint8_t interrupt1, uint8_t mode1, uint8_t interrupt2, uint8_t mode2, unsigned long ms) {
    
            ^~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors/core/MySensorsCore.cpp:507:8: note:   candidate expects 5 arguments, 6 provided
    
    In file included from C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/MySensors_NodeManager.h:87:0,
    
                     from D:\My.Node.Managed.Motion.Sensor\My.Node.Managed.Motion.Sensor.ino:43:
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp: In member function 'void Sensor::setup()':
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp:162:25: error: 'MODE_NOT_DEFINED' was not declared in this scope
    
      if (_interrupt_mode != MODE_NOT_DEFINED) {
    
                             ^~~~~~~~~~~~~~~~
    
    C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager/nodemanager/Sensor.cpp:162:25: note: suggested alternative: '_SIZE_T_DEFINED'
    
      if (_interrupt_mode != MODE_NOT_DEFINED) {
    
                             ^~~~~~~~~~~~~~~~
    
                             _SIZE_T_DEFINED
    
    Using library NodeManager at version 1.8.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\libraries\NodeManager 
    Using library MySensors at version 2.0.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\libraries\MySensors 
    Using library SPI at version 1.0 in folder: C:\Users\swbob\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI 
    exit status 1
    Error compiling for board Arduino Uno.
    
    Why do I get these compile errors, have used this sketch before have changed nothing in my computer or installiation. 
    I have this same sketch as well as the example for nodemanager motion sensor and get the same results. I have tried on 3 different OS
    Help
    I am using Library 2.0 and IDE 1.83
    Windows 10 Pro
    

Log in to reply
 

Suggested Topics

  • 23
  • 25
  • 13
  • 173
  • 3
  • 44
  • 3
  • 1

198
Online

9.2k
Users

9.9k
Topics

103.2k
Posts