Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberry_boards:paperduinopi_hat [2016/07/17 01:06]
admin [Burning the Boatloader]
raspberry_boards:paperduinopi_hat [2016/07/17 01:55]
admin [Install the Shutdown Button and the LED]
Line 44: Line 44:
   $ mkdir paper-duino-pi   $ mkdir paper-duino-pi
   $ cd paper-duino-pi   $ cd paper-duino-pi
-Download ​and unpack ​the files:+Download the files:
   $ wget http://​dernulleffekt.de/​programme/​paperduinopi_v05/​paper-duino-hat_01.tar.gz   $ wget http://​dernulleffekt.de/​programme/​paperduinopi_v05/​paper-duino-hat_01.tar.gz
-  ​$ tar -xvf paper-duino-pi_Pi2_Jessy.tar.gz+And unpack: 
 +  ​$ tar -xvf paper-duino-hat_01.tar.gz
 Run the setup: Run the setup:
   $ sudo chmod 755 setup   $ sudo chmod 755 setup
Line 75: Line 76:
     $ sudo nano /​etc/​rc.local     $ sudo nano /​etc/​rc.local
 Write before "exit 0": Write before "exit 0":
-   # run reset and shutdown script +  printf "<<<<<<<< ​       PAPER-DUINO-HAT ​         >>>>>>>>​\n"​ 
-   ​printf "Starts ​shutdown aund reset button on GPIO 22\n"​ +  printf "<<<<<<<<​ 07_2016 http://​dernulleffekt.de >>>>>>>>​\n" ​           
-   ​/​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  +   
-   ​# blink an LED +  ​# run reset and shutdown script 
-   ​printf "Starts ​blinking LED on GPIO 27\n"​ +  printf "<<<<<<<<​ Starting ​shutdown aund reset button on GPIO 22\n"​ 
-   ​/​home/​pi/​paper-duino-pi/​blink_hat.py &+  /​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  
 +   
 +  ​# blink an LED 
 +  printf "<<<<<<<<​ Starting ​blinking LED on GPIO 27\n"​ 
 +  /​home/​pi/​paper-duino-pi/​blink_hat.py & 
 To save and leave press: CTRL+O, Enter, CTRL+X\\ To save and leave press: CTRL+O, Enter, CTRL+X\\
 Reboot: Reboot: