In this tutorial we add input register support to the STM32 Modbus TCP server. We read a live ADC value from a potentiometer through function code 4 and control LED brightness via PWM using holding registers — all through the Mongoose networking library.

