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:42]
admin [Install the Shutdown Button and the LED]
raspberry_boards:paperduinopi_hat [2016/07/17 02:00]
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 " ​ \n" +  printf "<<<<<<<< ​PAPER-DUINO-HAT ​07_2016 ​http://​dernulleffekt.de\n" ​          ​ 
-   printf " ​   ​=============================================\n"​ +   
-   ​printf " ​   =             PAPER-DUINO-HAT ​              =\n" +  # run reset and shutdown script 
-   ​printf " ​   =                                           ​=\n"​ +  printf "<<<<<<<<​ Starting ​shutdown aund reset button on GPIO 22\n"​ 
-   ​printf " ​   =          wolfgang spahn 07-2016 ​          ​=\n"​ +  /​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  
-   ​printf " ​   =         http://​dernulleffekt.de ​          =\n" +   
-   printf " ​   =============================================\n"​ +  ​# blink an LED 
-   printf " \n" +  printf "<<<<<<<<​ Starting ​blinking LED on GPIO 27\n"​ 
-   # run reset and shutdown script +  /​home/​pi/​paper-duino-pi/​blink_hat.py & 
-   ​printf "Starts ​shutdown aund reset button on GPIO 22\n"​ +
-   ​/​home/​pi/​paper-duino-pi/​shutdownbutton_hat.py &  +
-   ​# blink an LED +
-   ​printf "Starts ​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: