node-red-contrib-periph-adc-dac 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# node-red-contrib-periph-adc-dac
|
|
2
|
+
|
|
3
|
+
Node-RED nodes for ADC and DAC chips — part of the [Periph](https://github.com/tuhde/Periph) library.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Open Node-RED, go to **Manage Palette → Install** and search for `node-red-contrib-periph-adc-dac`.
|
|
8
|
+
|
|
9
|
+
Or from the command line in your Node-RED user directory:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install node-red-contrib-periph-adc-dac
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Nodes
|
|
16
|
+
|
|
17
|
+
| Node | Kind | Description |
|
|
18
|
+
|------|------|-------------|
|
|
19
|
+
| `mcp4725-device` | config | I²C bus and address for an MCP4725 |
|
|
20
|
+
| `periph-mcp4725` | output | Write a voltage to the MCP4725 12-bit DAC |
|
|
21
|
+
|
|
22
|
+
## Links
|
|
23
|
+
|
|
24
|
+
- [GitHub](https://github.com/tuhde/Periph)
|
|
25
|
+
- [periph JS driver](https://www.npmjs.com/package/periph)
|