An example how to use NTPClient is available at the projects github
// change next line to use with another board/shield
//#include <WiFi.h> // for WiFi shield
//#include <WiFi101.h> // for WiFi 101 shield or MKR1000
const char *ssid = "<SSID>";
You can upload hex file to your board from command line without Arduino IDE.
To get the hex file, use in Arduino IDE in menu the command "Export compiled binary". It will save the hex file next to the ino file.
I assume your board in printer has AVR MCU. Then you can use avrdude from command line to upload the hex file again and again without any ...
ArduinoJson stores strings differently depending on their types:
for const char*, it saves a pointer;
for other types (char*, String...) it copies the string.
Because ArduinoJson stores the copy of the string in the JsonDocument, you must increase the capacity of the JsonDocument.
In your case, you pass Peripheral::current_state, which is a String, so ...
The ESP typically runs on 3.3 Volt, not 3.0 Volt.
Secondly, it looks like the board has a voltage regulator, all power goes through the voltage regulator. If that's the case the voltage you need to supply must be lower that the drop-out voltage of the regulator (which is typically around a volt).
The syntax of six SendHTML you use with true and false is actually wrong.
By defining a function like this String SendHTML(uint8_t LED1status,uint8_t BUZZ1status,uint8_t ABA1status), you mean that first, second and third input to this function are Status of LED1, Status of BUZZ1 and Status of ABA1.
So try replacing all six SendHTML with true and false ...
You installed the latest git version of the ESP8266WiFi library into your libraries folder and this version is not compatible with the 2.5.2 version of the esp82666 Arduino core.
The ESP8266WiFi library is part of the esp8266 boards package. It should not be installed separately. Delete the library from your libraries folder.
[library] = library name
1) edit the [library] library.properties file and add dot_a_linkage=true to the end ... (/home/name/Arduino/libraries/[library]/library.properties)
2) build the example ...
3) After the build is complete navigate to the build folder (In Linux it's located in the /tmp/arduino_build_xxxxxx folder) then copy the dot_a file from under ...