Simple demo(via command)

Hi,your code have some bugs.such as: “1” or “12” or “123” both can turn led on,etc.

And you can control LED via TCP,it is the same to http.