How to achieve LoPy communicate with computer Using TCP



  • I using python IDLE to build a server using my Lab wifi
    now i want to use LoPy as a client. My LoPy about to connect to my Lab WiFi, how can i make it communicate with my server?

    Thanks for reply!



  • The Python port supports the standard socket communication methods. So if you have a python client code, that should run on LoPy. For some basic examples, see section 5 of the documentation. The documentation is always worth a look, in addition to the standard Python manuals.


 

Pycom on Twitter