adafruit / Adafruit_CircuitPython_ESP32SPI

ESP32 as wifi with SPI interface
MIT License
103 stars 75 forks source link

Create esp32spi_tcp_client.py #126

Closed anecdata closed 3 years ago

anecdata commented 3 years ago

A simple TCP client example using ESP32SPI.

Requires running a TCP server listening on the same port. For example, CPython on a general-purpose computer: https://github.com/adafruit/circuitpython/blob/main/tests/circuitpython-manual/socketpool/client/host-server.py or CircuitPython native sockets: https://github.com/adafruit/circuitpython/blob/main/tests/circuitpython-manual/socketpool/server/cpy-server.py