I'm trying to set one ESP as AP and the other 3 as Station, so when I change the mode on the AP I can send the variable to the 3 stations.
I succeeded by using UDP, but the lag is considerable and my stations end up de-synced by half a second of what the AP is showing.
Is there a way to do this with static IPs using write() and read()? The examples I found were stations sending data to the AP. I want the AP to send data to the 3 stations.
Thank you