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

8 Commits

Author SHA1 Message Date
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
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