node-red-node-arduino
Advanced tools
Comparing version
{ | ||
"name" : "node-red-node-arduino", | ||
"version" : "0.0.4", | ||
"version" : "0.0.5", | ||
"description" : "A Node-RED node to talk to an Arduino running firmata", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
@@ -10,6 +10,5 @@ node-red-node-arduino | ||
Run the following command in the root directory of your Node-RED install, usually | ||
this is `~/.node-red` | ||
Run the following command in your Node-RED user directory - typically `~/.node-red` | ||
npm install node-red-node-arduino | ||
npm i node-red-node-arduino | ||
@@ -29,3 +28,3 @@ Usage | ||
You can select either **Digital** or **Analogue** input type. | ||
Outputs the value read as **msg.payload** and the pin number as **msg.topic**. | ||
Outputs the value read as `msg.payload` and the pin number as `msg.topic`. | ||
@@ -46,3 +45,3 @@ It only outputs on a change of value - fine for digital inputs, but you can get a lot of data from analogue pins which you must then handle. | ||
Expects a numeric value in **msg.payload**. The pin number is set in the properties panel. | ||
Expects a numeric value in `msg.payload`. The pin number is set in the properties panel. | ||
@@ -49,0 +48,0 @@ *Note* - some servos will not travel a full 180 degree range so may only accept 30 - 150 degrees for example. |
28998
-0.11%53
-1.85%