I know they worked when I received them because I ran all the example code in the library, HX710. Now Arduino IDE 2.1.1 is giving me
> C:\Users\lstei\AppData\Local\Temp\.arduinoIDE-unsaved2023619-7584-1vvw7n5.9hxb\readTemperature\readTemperature.ino: In function 'void loop()':
> C:\Users\lstei\AppData\Local\Temp\.arduinoIDE-unsaved2023619-7584-1vvw7n5.9hxb\readTemperature\readTemperature.ino:38:31: error: 'HX710_TEMPERATURE_40HZ' was not declared in this scope
> ps.readAndSelectNextData( HX710_TEMPERATURE_40HZ );
> ^~~~~~~~~~~~~~~~~~~~~~
> C:\Users\lstei\AppData\Local\Temp\.arduinoIDE-unsaved2023619-7584-1vvw7n5.9hxb\readTemperature\readTemperature.ino:38:31: note: suggested alternative: '_HX710_TEMPLATE_H_'
> ps.readAndSelectNextData( HX710_TEMPERATURE_40HZ );
> ^~~~~~~~~~~~~~~~~~~~~~
> _HX710_TEMPLATE_H_
> C:\Users\lstei\AppData\Local\Temp\.arduinoIDE-unsaved2023619-7584-1vvw7n5.9hxb\readTemperature\readTemperature.ino:39:15: error: 'class HX710' has no member named 'getLastTemperature'; did you mean 'getLastOtherInput'?
> temp = ps.getLastTemperature();
> ^~~~~~~~~~~~~~~~~~
> getLastOtherInput
>
> exit status 1
>
> Compilation error: 'HX710_TEMPERATURE_40HZ' was not declared in this scope
Why is Arduino IDE messing with what worked a few weeks ago?
It's the example for read temperature BTW.
Any ideas?
Larry