1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Dave Conway-Jones
e4dc3a2bcf
bump for 2050 update PR 2022-09-08 22:08:56 +01:00
Ivan Mikhaylov
721ccd2c15
mraa-gpio: sync iot2050 id with mraa library (#948)
Based on eclipse/mraa@a9f0ff22 iot2050 platform add.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-09-08 22:07:14 +01:00
Dave Conway-Jones
95e5e7341e
Bump intel mraa package for PR release 2022-09-06 13:26:57 +01:00
Ivan Mikhaylov
25d7d668ef
Add IOT2050 board into mraa Intel nodes (#940)
* mraa-gpio-led: add led

This patch introduces LED node in GPIO category.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-ain: add iot2050 board

Add IOT2050 board in list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-dout: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-pwm: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio: clean up on close for ain, pwm, dout

Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add USER button

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
Co-authored-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-09-06 13:19:28 +01:00
Dave Conway-Jones
e133d01e53
bump mraa node for iot2050 PR 2022-07-12 10:14:21 +01:00
Ivan Mikhaylov
983dafff13
mraa gpio din features (#929)
* mraa-gpio-din: add iot2050 board

This patch adds iot2050 board in possible list of boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add cleanup on close

Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources. ISR thread release.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: extend GPIO lines

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add configurable GPIO mode for DIN

GPIO mode wasn't set correctly, it was set from Pinmuxes modes instead
of GPIO. Add way to control GPIO modes on DINs from Node-RED with
possible values from mraa : Strong, Hiz, Pull-down, Pull-up.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add support for initial message from digital input

This allows to send out an initial message with the current digital pin
state on startup, simplifying initializations of certain flows.

Based on siemens/meta-iot2000@5fc2bbe patch 0003.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-07-12 10:10:49 +01:00
Sam Machin
2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
Dave Conway-Jones
31cee79545
fix typo in intel readme 2018-05-07 09:40:42 +01:00
Dave Conway-Jones
316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
81c532fdce update hardware nodes info style 2016-03-02 13:27:52 +00:00
Dave Conway-Jones
5316ff715c Fix spelling in Intel Galileo node READme 2015-09-24 19:00:27 +01:00
Dave Conway-Jones
b7ed95f60f Add Intel Galileo/Edison Gpio nodes 2015-09-21 17:03:50 +01:00