Cours:NanoPi : Différence entre versions

De troyesGEII
Aller à : navigation, rechercher
(NodeRed)
Ligne 28 : Ligne 28 :
 
*install nodejs & nodered
 
*install nodejs & nodered
 
**pas installé "Pi-specific nodes"
 
**pas installé "Pi-specific nodes"
 +
*install node-red-contrib-opi-gpio
  
 
<source lang=bash>
 
<source lang=bash>
Ligne 33 : Ligne 34 :
 
apt install curl
 
apt install curl
 
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
 
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
 +
npm install node-red-contrib-opi-gpio
 
</source>
 
</source>

Version du 22 octobre 2019 à 21:54


Installation

cross QT

As usual !

  • get Sysroot
  • get qtSource
  • compilation
  • upload

script à venir ... peut-être !

NodeRed

https://discourse.nodered.org/t/trouble-with-tach-interrupt-gpio/7792

  • install curl
  • install nodejs & nodered
    • pas installé "Pi-specific nodes"
  • install node-red-contrib-opi-gpio
apt update
apt install curl
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
npm install node-red-contrib-opi-gpio