I am using your code in atom platformio and I am trying to build it. However I get the following errors:
src\main.cpp:12:13: error: 'HX711_DT' was not declared in this scope
HX711 scale(HX711_DT, HX711_SCK);
^
src\main.cpp:12:23: error: 'HX711_SCK' was not declared in this scope
HX711 scale(HX711_DT, HX711_SCK);
^
src\main.cpp: In function 'void reconnect()':
src\main.cpp:19:28: error: 'HOSTNAME' was not declared in this scope
if (client.connect(HOSTNAME)) {
Hello
I am using your code in atom platformio and I am trying to build it. However I get the following errors:
Can you please help?
Thanks.