um substituto para em vez de uma comunicação RF utilizar wifi
Project description
comu
server
init
from comu.ser import se
s = se(net=True)
#se(net={'SSID':...,'PASSWORD':....})
recv
from time import sleep
while True:
data = s.recv()
if data:
print(data)
sleep(1)
send
from time import sleep
x = 0
while True:
s.send(x)
x+=1
sleep(1)
client
from comu.cli import ci
c = ci(net=True)
#ci(net={'ssid':...,'password':....}) or ci()
recv
from time import sleep
while True:
data = c.recv()
if data:
print(data)
sleep(1)
send
from time import sleep
x = 0
while True:
c.send(x)
x+=1
sleep(1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for micropython_wifi_communication-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a6c216deb7f38bc14ba2ce0e8e3a88b06234d7abe5102e3b037375de5b275c |
|
MD5 | 58414359917901c6e70e0dac3d715494 |
|
BLAKE2b-256 | 24e60d9484ae6ffe4a0bf2ffa6eb25d25d6e98f5a2d0b569f8d8fa30578cea95 |