Node-Red MQTT controlling 8+8 digital Inp-Out and I2C ADC on ESP32

Hi
Here a sample program on connecting ESP32 to node-red via MQTT.
The ESP32 source program is in B4R, with a "compilation" for Arduino.