Skip to content

Commit 2cbabd4

Browse files
print IP config after connection success message in tcp client example
1 parent 4de37f4 commit 2cbabd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tcp_client_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535

3636
while True:
3737
print('Waiting for WiFi connection...')
38-
print(station.ifconfig())
3938
if station.isconnected():
4039
print('Connected to WiFi.')
40+
print(station.ifconfig())
4141
break
4242
time.sleep(2)
4343

0 commit comments

Comments
 (0)