Cours:NanoPi : Différence entre versions

De troyesGEII
Aller à : navigation, rechercher
(NodeRed)
(Utilisation)
Ligne 56 : Ligne 56 :
  
 
*tableau correspondance gpio <=> broche : gpio readall
 
*tableau correspondance gpio <=> broche : gpio readall
*choisir "Pi type" : other
+
*choisir "Pi Type" : "NanoPi Neo"
 +
*choisir la broche dans le menu déroulant

Version du 23 novembre 2019 à 22:12


Installation

image et installation minimum

cross QT

As usual !

  • get Sysroot
  • get qtSource
  • compilation
  • upload

script à venir ... peut-être !

NodeRed

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

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

Utilisation

Qt

  • Configurer QtCreator

nodeRed

  • tableau correspondance gpio <=> broche : gpio readall
  • choisir "Pi Type" : "NanoPi Neo"
  • choisir la broche dans le menu déroulant