Attached is some code to try for TCP comunications.
You will need to edit the SSID and key to configure your router access.
On one Pico start the server code and note the IP address it will display.
Disconnect from WebIDE and connect with a Terminal program such as Putty.
On a second Pico load the client code using WebIde.
In addition to the SSID and key edit the IP variable to match the server IP address
You can also change the port in both server and client code as it is 1234 in this code.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Attached is some code to try for TCP comunications.
You will need to edit the SSID and key to configure your router access.
On one Pico start the server code and note the IP address it will display.
Disconnect from WebIDE and connect with a Terminal program such as Putty.
On a second Pico load the client code using WebIde.
In addition to the SSID and key edit the IP variable to match the server IP address
You can also change the port in both server and client code as it is 1234 in this code.
2 Attachments