ESP8266 to ESP32

Hello,

I'm using an ESP8266 for my wordclock. But want tot transfer it to an ESP32. What are the items I have to change in the software to make it work on a ESP32?

These are now included:
#include <WiFiManager.h>
#include <strings_en.h>
#include <wm_consts_en.h>
#include <wm_strings_en.h>
#include <wm_strings_es.h>
#include <ArduinoJson.h>
#include <WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
#include <FastLED.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
#include <FS.h>
#include "src/grid.h"
#include "src/wifi.h"
#include "src/types.h"
#include "src/color.h"
#include "src/config.h"
#include "src/dnd.h"
#include "src/led.h"
#include "src/time.h"
#include "src/httpServer.h"
#include "src/gui.h"
#include "src/controller.h"
#include "src/healthcheck.h"

adjust your arduino-IDE to ESP32 and click compile.
If the compiler has something to complain you can read it in the compiler-log.

is ESP8266 specific

is not needed anymore as NTP timeis part of the ESP32-core

I don't know why this library was nescessary at all

best regards Stefan

NTP support was built into the ESP8266 core before the ESP32 existed.
This includes integration with the POSIX time library functions and support for timezones and automatic DST changes using a POSIX TZ string.

--- bill

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.