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:50]
admin [Install the Shutdown Button and the LED]
raspberry_boards:paperduinopi_hat [2016/07/17 01:57]
admin [Install the Shutdown Button and the LED]
Line 76: Line 76:
     $ sudo nano /​etc/​rc.local     $ sudo nano /​etc/​rc.local
 Write before "exit 0": Write before "exit 0":
-   printf "<<<<<<< ​       PAPER-DUINO-HAT ​         >>>>>>>​\n" +  ​printf "<<<<<<<​PAPER-DUINO-HAT\n"​ 
-   ​printf "<<<<<<<​ 07_2016 http://​dernulleffekt.de ​>>>>>>>​\n"  +  printf "<<<<<<<<​ 07_2016 http://​dernulleffekt.de\n" ​          ​ 
-   ​# run reset and shutdown script +   
-   ​printf "Starts ​shutdown aund reset button on GPIO 22\n"​ +  ​# run reset and shutdown script 
-   ​/​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  +  printf "<<<<<<<<​ Starting ​shutdown aund reset button on GPIO 22\n"​ 
-   ​# blink an LED +  /​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  
-   ​printf "Starts ​blinking LED on GPIO 27\n"​ +   
-   ​/​home/​pi/​paper-duino-pi/​blink_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: