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
I have run the compile both with Arduino IDE and PlatformIO with MCP3221 Enabled.
The following compile time errors occur on lines 129 and 386 in ioports.c
src\ioports.c: In function 'wait_on_input':
src\ioports.c:129:20: error: 'analog_n_in' undeclared (first use in this function)
else if(port < analog_n_in)
^
src\ioports.c:129:20: note: each undeclared identifier is reported only once for each function it appears in
src\ioports.c: In function 'ioports_init':
src\ioports.c:386:34: error: 'analog_n_in' undeclared (first use in this function)
hal.port.num_analog_in = analog_n_in = 1;
I have found a MCP3221 "daughter card" on Phil-Barrett's github.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have run the compile both with Arduino IDE and PlatformIO with MCP3221 Enabled.
The following compile time errors occur on lines 129 and 386 in ioports.c
src\ioports.c: In function 'wait_on_input':
src\ioports.c:129:20: error: 'analog_n_in' undeclared (first use in this function)
else if(port < analog_n_in)
^
src\ioports.c:129:20: note: each undeclared identifier is reported only once for each function it appears in
src\ioports.c: In function 'ioports_init':
src\ioports.c:386:34: error: 'analog_n_in' undeclared (first use in this function)
hal.port.num_analog_in = analog_n_in = 1;
I have found a MCP3221 "daughter card" on Phil-Barrett's github.
Beta Was this translation helpful? Give feedback.
All reactions