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

14 Commits

Author SHA1 Message Date
Maxwell Hadley
e8df573ea3 Added message output to discrete-out 2014-02-26 21:18:42 +00:00
Maxwell Hadley
430300fa04 Added discrete-out node
The output node is currently in 145-digital-in. This situation is
hopefully only temporary…
2014-02-26 18:37:11 +00:00
Maxwell Hadley
42c91dd6a3 Fixed issues with pulse-in; minor bug fixes
Got the pulse-in node working properly, and tidied up a few E&O in the
other nodes
2014-02-26 16:35:46 +00:00
Maxwell Hadley
b95567dfb4 Added pulse-in; added debouncing
Added the pulse-in node code. Added simple debouncing logic to
discrete-in (note: this implementation may be badly affected if there
is a lot of very fast bouncing.
2014-02-23 15:20:05 +00:00
Maxwell Hadley
f46b59d69f Added analogue scaling & averaging; discrete check reads
Added input scaling function and averaging of multiple readings for
noise reduction to the analogue input node.
Added the ‘sanity check’ read of the digital input pin to the timer
callback in the discrete input node
2014-02-12 22:27:08 +00:00
Maxwell Hadley
955fd1ad46 Finshing off the breakpoint editor
Mutable/immutable behaviour of breakpoints completed, and the 0 and 1
input values are no longer editable.
Adding a breakpoint now inserts it in the list in next-to-last
place, with sensible default values.
2014-02-09 10:52:56 +00:00
Maxwell Hadley
68080df45e Starting to add scale factors & linearisation
Added breakpoints property to the node
Building the breakpoints editor (nearly there!)
2014-02-08 22:36:23 +00:00
Maxwell Hadley
c6108cffb4 Polishing discrete-in a bit
Commented out debug: added numeric validator
2014-02-08 22:35:00 +00:00
Maxwell Hadley
8bf813c9cd Debug & tidy up
Make the colours the same as the RPi equivalents. Remove ‘BBB’ from the
node names.
Further debug output
2014-02-08 13:06:47 +00:00
Maxwell Hadley
4f509931ba Debugging discrete-in
Coerce the currentState to always be numeric & use === tests
Catch the first spurious interrupt when x.value is undefined
Add more debug output
Add a second timer to get the first message out. This still fails at
node-RED startup when the node is not activeLow
2014-02-06 22:11:09 +00:00
Maxwell Hadley
e9a860f36f Added activeLow property to discrete-in
Further attempts to get the initial message working. Added activeLow
property. Output messages now include topic. Better help text. Change
name to discrete-in
2014-02-04 20:34:04 +00:00
Maxwell Hadley
3b319e7d83 Attempting to get the initial message
Modified 145-digital-in.js adding various debugs to try and trace why
the initial messages don’t appear
2014-02-03 21:25:25 +00:00
Maxwell Hadley
83f7ff429f Added BBB-digital-in
Added digital input node - initially this is just BBB-discrete-in
2014-02-03 20:08:33 +00:00
Maxwell Hadley
62d26c04fb Added BBB-analog-in
Added a triggered analogue input node
2014-02-03 20:06:41 +00:00