Cours:Rpi3 : Différence entre versions

De troyesGEII
Aller à : navigation, rechercher
Ligne 3 : Ligne 3 :
 
*https://www.raspberrypi.org/documentation/installation/installing-images/linux.md
 
*https://www.raspberrypi.org/documentation/installation/installing-images/linux.md
 
*https://wiki.qt.io/RaspberryPi2EGLFS
 
*https://wiki.qt.io/RaspberryPi2EGLFS
 +
*http://www.tal.org/tutorials/building-qt-510-raspberry-pi-debian-stretch
 
*apt-get install apt-transport-https
 
*apt-get install apt-transport-https
 
*install rsync
 
*install rsync

Version du 25 août 2018 à 16:47

Préparation carte SD


Au besoin :

cd /usr/lib/arm-linux-gnueabihf/
ln -s libinput.so libinput.so.5

Rétroéclairage

  • allumer
    • echo 0 > /sys/class/backlight/rpi_backlight/bl_power
    • /usr/local/sbin/powerOnScreen
  • éteindre
    • echo 1 > /sys/class/backlight/rpi_backlight/bl_power
    • /usr/local/sbin/powerOffScreen

mdp root geii

cross compilation


GPIO

Entrée

  • apt-get install inotify-tools
  • export gpio
  • change edge mode
    • none
    • both
  • inotifywait value
  • http://doc.qt.io/qt-5/qfilesystemwatcher.html
  • Latence : temps entre modification de l'entrée et modification d'une sortie
  • Latence maximum <400µs typiquement 230µs(QFileSystemWatcher avec ondemand ou powersave governor)
    • frequence max avec détection des 2 fronts environ 1.7kHz
  • /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  • Latence maximum <250µs typiquement 120µs (QFileSystemWatcher avec ondemand performance)
    • frequence max avec détection des 2 fronts environ 2.7kHz