Hello All, I’m new to XOD and have an issue with nkrkv’s “sleep-until-switch” (on UNO & NANO). I have seen several posts with the same issue but no recent solutions. This node is exactly what I need but errors in compiling. Could anybody direct me to the issue here, any help would be greatly appreciated. Comp errors below
C:\Users\Me\AppData\Local\Temp\xod_temp_sketchbookUWNmoo\xod_1643866566438_sketch\xod_1643866566438_sketch.ino: In instantiation of ‘void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::evaluate(xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::Context) [with unsigned char constant_input_WAKE = 2; xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::Context = xod::nkrkv__avr_sleep__sleep_until_switch::Node<2>::ContextObject*]’:
C:\Users\Me\AppData\Local\Temp\xod_temp_sketchbookUWNmoo\xod_1643866566438_sketch\xod_1643866566438_sketch.ino:5186:37: required from here
C:\Users\Me\AppData\Local\Temp\xod_temp_sketchbookUWNmoo\xod_1643866566438_sketch\xod_1643866566438_sketch.ino:2948:24: error: invalid use of non-static member function ‘void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::wakeISR() [with unsigned char constant_input_WAKE = 2]’
attachInterrupt(g_interruptNum, wakeISR, CHANGE);
~~~~~~~~~~~~~~~~~~~^
C:\Users\Me\AppData\Local\Temp\xod_temp_sketchbookUWNmoo\xod_1643866566438_sketch\xod_1643866566438_sketch.ino:2915:10: note: declared here
void wakeISR() {
^~~~~~~
Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.