node-red-contrib-int-bits
v1.0.4
Published
Integer to bits converter - bidirectional integer and boolean array conversion
Maintainers
Readme
node-red-contrib-rpo-int-bits
A Node-RED node: Int Bits
Converts an integer to an array of bits, or an array of bits back to an integer.
Install
npm install node-red-contrib-rpo-int-bitsOr via the Node-RED Palette Manager.
Inputs
- payload (number): Integer to convert to bit array
- payload (array): Bit array to convert to integer
Outputs
- Output 1: Bit array or integer depending on input type
Configuration
| Parameter | Description | |-----------|-------------| | Number of bits | How many bits to use (1–32) | | Bit order | LSB first or MSB first |
License
MIT
