siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
129 stars 76 forks source link

node-red-gpio: Refact decouple led and state control #371

Closed AsuraZeng closed 1 year ago

AsuraZeng commented 1 year ago

Separation of class LED selection and state control. The label of the LED corresponds to the silk screen of the iot2050.

There is a problem with the state switching of the old version, This refact would also fix it.

Signed-off-by: chao zeng chao.zeng@siemens.com

jan-kiszka commented 1 year ago

We are upstream, so maybe go there first?

AsuraZeng commented 1 year ago

We are upstream, so maybe go there first?

OK, Have created a PR for node-red-node. https://github.com/node-red/node-red-nodes/pull/957

AsuraZeng commented 1 year ago

upstream node-red-nodes has already merged this modification. backport this commit