Adapt ESP8266 sketch for ESP32 (wifi and ethernet)

Job ID: 35533480

Budget: $10 – $30 USD

Have a sketch that use MAX7219 8x8 led matrix, 2 encoders and 4 buttons connected to ESP8266 Wemos D1 mini. All works great. Need to convert this sketch to have it working for ESP32 Devkit (also ESP32-POE). I tried and faced with errors like missing avr\pgmspace.h and other errors too. Need help to convert it fast and quick.