4

An example how to use NTPClient is available at the projects github #include <NTPClient.h> // change next line to use with another board/shield #include <ESP8266WiFi.h> //#include <WiFi.h> // for WiFi shield //#include <WiFi101.h> // for WiFi 101 shield or MKR1000 #include <WiFiUdp.h> const char *ssid = "<SSID>"; ...


2

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 ...


2

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 ...


1

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).


1

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 ...


1

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.


1

[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 ...


Only top voted, non community-wiki answers of a minimum length are eligible