Hi, the script be updated. thanks.

the python code need pigpiod library, so need to install firstly.

Regards,

Harry / Geekworm