You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compiling 684f9ac for mechaduino works quite well with Arduino 1.6.13 IDE, Later commits fail. (I have not tracked down the specific commit yet.
Only mod to the code is to uncomment the define for MECHADUINO_HARDWARE
Error message
In file included from sketch/nzs.h:11:0,
from sketch/nzs.cpp:8:
sketch/board.h:83:2: warning: #warning "Compiling source for Mechaduino NOT NZS" [-Wcpp]
#warning "Compiling source for Mechaduino NOT NZS"
^
sketch/nzs.cpp: In function 'int menuTestCal(int, char**)':
nzs.cpp:39: error: 'PIN_SW3' was not declared in this scope
while(digitalRead(PIN_SW3)==1)
^
nzs.cpp:43: error: 'PIN_SW3' was not declared in this scope
while(digitalRead(PIN_SW3)==0)
^
sketch/nzs.cpp: At global scope:
sketch/nzs.cpp:534:9: warning: #pragma GCC target is not supported for this machine [-Wpragmas]
#pragma GCC pop_options
^
exit status 1
'PIN_SW3' was not declared in this scope
The text was updated successfully, but these errors were encountered:
compiling 684f9ac for mechaduino works quite well with Arduino 1.6.13 IDE, Later commits fail. (I have not tracked down the specific commit yet.
Only mod to the code is to uncomment the define for MECHADUINO_HARDWARE
Error message
In file included from sketch/nzs.h:11:0,
from sketch/nzs.cpp:8:
sketch/board.h:83:2: warning: #warning "Compiling source for Mechaduino NOT NZS" [-Wcpp]
#warning "Compiling source for Mechaduino NOT NZS"
^
sketch/nzs.cpp: In function 'int menuTestCal(int, char**)':
nzs.cpp:39: error: 'PIN_SW3' was not declared in this scope
while(digitalRead(PIN_SW3)==1)
^
nzs.cpp:43: error: 'PIN_SW3' was not declared in this scope
while(digitalRead(PIN_SW3)==0)
^
sketch/nzs.cpp: At global scope:
sketch/nzs.cpp:534:9: warning: #pragma GCC target is not supported for this machine [-Wpragmas]
#pragma GCC pop_options
^
exit status 1
'PIN_SW3' was not declared in this scope
The text was updated successfully, but these errors were encountered: