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 try to adapt the code from Core2 to CoreS3 and get the following error: Unit_VMeter_M5CoreS3.ino 'PGA_512' was not declared in this scope
C:\Users\user\Documents\Dev\Unit_VMeter_M5Core3\Unit_VMeter_M5Core3.ino\Unit_VMeter_M5Core3.ino.ino:36:26: error: 'PGA_512' was not declared in this scope
ADS1115Gain_t now_gain = PGA_512;
^~~~~~~
C:\Users\user\Documents\Dev\Unit_VMeter_M5Core3\Unit_VMeter_M5Core3.ino\Unit_VMeter_M5Core3.ino.ino:36:26: note: suggested alternative: 'PAG_512'
ADS1115Gain_t now_gain = PGA_512;
^~~~~~~
PAG_512
C:\Users\user\Documents\Dev\Unit_VMeter_M5Core3\Unit_VMeter_M5Core3.ino\Unit_VMeter_M5Core3.ino.ino: In function 'void setup()':
C:\Users\user\Documents\Dev\Unit_VMeter_M5Core3\Unit_VMeter_M5Core3.ino\Unit_VMeter_M5Core3.ino.ino:54:23: error: 'PGA_512' was not declared in this scope
voltmeter.setGain(PGA_512);
^~~~~~~
C:\Users\user\Documents\Dev\Unit_VMeter_M5Core3\Unit_VMeter_M5Core3.ino\Unit_VMeter_M5Core3.ino.ino:54:23: note: suggested alternative: 'PAG_512'
voltmeter.setGain(PGA_512);
^~~~~~~
PAG_512
exit status 1
Compilation error: 'PGA_512' was not declared in this scope
Hello,
I find Unit_VMeter_M5Core2.
Can you add also Unit_VMeter_M5CoreS3 ?
Regards
The text was updated successfully, but these errors were encountered: