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
Hi guys, we have bought the newest arduino nano every for our IOT projects and to monitoring houses consumptions.
However, we have seen that your library does not yet support these models...
The arduino compiler gives us this ADC register error :
/*
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp: In member function 'long int EnergyMonitor::readVcc()':
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:3: error: 'ADCSRA' was not declared in this scope
ADCSRA |= _BV(ADSC); // Convert
^~~~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:3: note: suggested alternative: 'ADC_t'
ADCSRA |= _BV(ADSC); // Convert
^~~~~~
ADC_t
ADCSRA |= _BV(ADSC); // Convert
^
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:17: note: suggested alternative: 'DDRC'
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:255:12: error: 'ADCL' was not declared in this scope
result = ADCL;
^~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:255:12: note: suggested alternative: 'ADC0'
result = ADCL;
^~~~
ADC0
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:256:13: error: 'ADCH' was not declared in this scope
result |= ADCH<<8;
^~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:256:13: note: suggested alternative: 'ADC0'
result |= ADCH<<8;
^~~~
ADC0
*/
Would you able to integrate this model in your library?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi guys, we have bought the newest arduino nano every for our IOT projects and to monitoring houses consumptions.
However, we have seen that your library does not yet support these models...
The arduino compiler gives us this ADC register error :
/*
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp: In member function 'long int EnergyMonitor::readVcc()':
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:3: error: 'ADCSRA' was not declared in this scope
ADCSRA |= _BV(ADSC); // Convert
^~~~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:3: note: suggested alternative: 'ADC_t'
ADCSRA |= _BV(ADSC); // Convert
^~~~~~
ADC_t
ADCSRA |= _BV(ADSC); // Convert
^
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:253:17: note: suggested alternative: 'DDRC'
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:255:12: error: 'ADCL' was not declared in this scope
result = ADCL;
^~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:255:12: note: suggested alternative: 'ADC0'
result = ADCL;
^~~~
ADC0
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:256:13: error: 'ADCH' was not declared in this scope
result |= ADCH<<8;
^~~~
C:\Users\Mauro\Documents\Arduino\libraries\EmonLib-master\EmonLib.cpp:256:13: note: suggested alternative: 'ADC0'
result |= ADCH<<8;
^~~~
ADC0
*/
Would you able to integrate this model in your library?
Thanks!
The text was updated successfully, but these errors were encountered: