Projet OrgaTec

First Version of code

/* Orgatec Light retribution program by @dan.ass Read the value of a LDR and turn LED on during a cycle of 12seconds if the quantity of light has reached a certain threshold. This code reuse some existing code to hard reset millis function. This code has variables names in french. Lire la suite…

Non classé

Installer un wordpress en ligne de commande sur une machine linux

$ sudo apt-get install apache2 apache2-utils $ sudo apt-get install mysql-client mysql-server $ sudo apt-get install php7.0 php7.0-mysql libapache2-mod-php7.0 php7.0-cli php7.0-cgi php7.0-gd $ cd $ wget -c http://wordpress.org/latest.tar.gz $ tar -xzvf latest.tar.gz $ sudo rsync -av wordpress/* /var/www/html/ $ sudo chown -R www-data:www-data /var/www/html/ $ sudo chmod -R 755 /var/www/html/ Lire la suite…

Non classé

White Screen on PiTFT screen with Raspberry 3

Raspberry Pi Model : 3 PiTFt Screen : 480×320 Resistive Touch Why this page ? Adafruit link may not work and give errors due to Raspberry Pi kernel update. Using this scripts gave me good results : # wget https://raw.githubusercontent.com/adafruit/Adafruit-PiTFT-Helper/master/adafruit-pitft-helper2.sh # chmod +x adafruit-pitft-helper2.sh # sudo ./adafruit-pitft-helper2.sh My screen 480×320 doesn’t Lire la suite…