1.5.5 • Published 4 years ago

ncd-red-mcp23008 v1.5.5

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

This library provides a class for the MCP23008, it relies on the ncd-red-comm library for communication, and includes a node-red node for the MCP23008. The MCP23008 is an Integrated port expander that controls eight I/O channels through the I2C bus. Ncd.io manufactures dozens of boards, both mini-modules and full size, that utilize this chip for different applications. You can see a list here.

MCP23008

Installation

This library can be installed with npm with the following command:

npm install ncd-red-mcp23008

For use in node-red, use the same command, but inside of your node-red directory (usually ~./node-red).

Usage

The test.js file included in this library contains basic examples for use. All of the available configurations are available in the node-red node through the UI.

Raspberry Pi Notes

If you intend to use this on the Raspberry Pi, you must ensure that: 1. I2C is enabled (there are plenty of tutorials on this that differ based on the Pi version.) 2. Node, NPM, and Node-red should be updated to the LTS versions. If you skip this step the ncd-red-comm dependency may not load properly.

1.5.5

4 years ago

1.5.4

4 years ago

1.5.3

4 years ago

1.5.2

5 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago