Dynamic Sliders Via TCP Connection

To start off, apologies if this is not relevant to this forum, as it is my first time posting to anything like this :slight_smile:
.
.
.
I have been using an Arduino NANO 33 IOT, and am trying to create a webpage [created by the arduino] that has sliders that dynamically control LEDs connected to the arduino. The advice I got from others was to use a TCP connection, but I don't really know how to go about that, is anyone willing to help me out?

Thank you!

Welcome to the forum

Please have a look at the WiFiNINA library examples.

You have to install the library first. Go to Tools -> Manage Libraries and type NINA

Then go to File -> Examples -> WiFiNINA. Look at the following two examples.

  • AP_SimpleWebServer (will create a WiFi Access Point and a WebServer)
  • SimpleWebServer (will connect to your home WiFi if you set the SSID and password in the code and create a web server)

This will give you the basics of running a web server on the Arduino and react to user input.

Please also read the "How to post". It is at the beginning of each sub forum. When you played with the examples post some code (use code tags) and ask some more specific questions.