Closed cheattheweb closed 7 months ago
you have also imported usocket, ustruct and os Why? remove them if not needed
Code organization
the send_msg() function is defined outside the Client class, why? if it is closely related to the functionality of the Client Class, consider moving it inside the class
did all the necessary changes you suggested
add some comments, about the pins, d1, d2 What they do? something like that, Or Pin name
Where is the send_msg()
now?
Code organization
the send_msg() function is defined outside the Client class, why? if it is closely related to the functionality of the Client Class, consider moving it inside the class