This module is PiFace CAD node for node red.
Run the following code in your raspberry pi terminal
cd /home/pi/.node-red/node_modules
git clone https://github.com/erfanjahanshahlo/node-red-contrib-pifacecad.git
and restart your node red server or reboot your raspberry pi.
Run the following code in your raspberry pi terminal
cd /home/pi/.node-red/node_modules
npm install node-red-contrib-pifacecad
and restart your node red server or reboot your raspberry pi.
in step one download this repository and rename main folder to node-red-contrib-pifacecad
like the schematic below and copy to /home/pi/.node-red/node_modules
path in your raspberry pi and restart your node red server or reboot your raspberry pi.
-node-red-pifacecad-lcd
---package.json
---pfc_lcd.py
---pfc_lcd.js
---pfc_lcd.html
For install dependencies, in your raspberry pi terminal run the below command.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python{,3}-pifacecad
To work with PiFace CAD you must enable the SPI protocol on raspberry pi. To do this you need to execute the following commands in the terminal.
sudo raspi-config
Interfacing Options -> SPI -> Yes
To work with lcd node: Here's how to send data to this node.
ROW,COL:YOUR TEXT
for clear lcd send 1,1:
to the node to clear lcd.
Be careful not to use any spaces in any of these commands.