hi all
Every time the serial port provision the mesh with python, when the temporary variables disappear are defined when exiting the serial port , how to improve the code, enter the serial port definition variables still exist.
thanks
hi all
Every time the serial port provision the mesh with python, when the temporary variables disappear are defined when exiting the serial port , how to improve the code, enter the serial port definition variables still exist.
thanks
Hi,
I am sorry but I do not understand what you mean. Can you try to explain in more detail?
Regards,
Terje
Hi,
I am sorry but I do not understand what you mean. Can you try to explain in more detail?
Regards,
Terje
1.the first we enter the serial port and defined a ‘sc’ alias with SimpleOnoffClient().
2.when we exit the serial port and again into serial port ,the variable ‘sc’ disappear.