Martijn Scheepers 5ad02ee00c fixed crash:
use wificlient
2021-01-28 08:57:36 +01:00
2020-01-09 15:45:17 +01:00
2020-04-10 10:18:48 +02:00
2020-04-10 10:35:41 +02:00
2020-01-14 12:49:28 +01:00
2021-01-28 08:57:36 +01:00
2021-01-28 08:57:36 +01:00
2020-04-10 10:04:21 +02:00

software Install

  • 1: Install Arduino from the Arduino website.
  • 2: Start Arduino and open Preferences window.
  • 3: Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • 4: Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).
  • 5: Install ArduinoJson library, Sketch -> Include Library -> Manage Libraries.

File uploaden to LittleFS

  • 1: Download the 2.6.0 or later version of the tool: https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/releases
  • 2: In your Arduino sketchbook directory, create tools directory if it doesn't exist yet
  • 3: Unpack the tool into tools directory (the path will look like <home_dir>/Arduino/tools/ESP8266LittleFS/tool/esp8266littlefs.jar)
  • 4: Restart Arduino IDE
  • 5: Open a sketch (or create a new one and save it)
  • 6: Go to sketch directory (choose Sketch > Show Sketch Folder)
  • 7: Create a directory named data and any files you want in the file system there
  • 8: Make sure you have selected a board, port, and closed Serial Monitor
  • 9: To upload a LittleFS filesystem use Tools > ESP8266 LittleFS Data Upload

Na het uploaden

1: Zet de nodumcu in AP mode en stel het SSID in

Update van oude versie

EEPROM leeg maken met volgende code

#include <EEPROM.h>

void setup() {
  EEPROM.begin(512);
  // write a 0 to all 512 bytes of the EEPROM
  for (int i = 0; i < 512; i++) {
    EEPROM.write(i, 0xFF);
  }
  EEPROM.commit();
  EEPROM.end();
}

void loop() {
}
Description
H1602 WSEN code
Readme 3.4 MiB
Languages
C++ 51.7%
HTML 40.6%
CSS 6.2%
JavaScript 1%
Batchfile 0.5%