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 Both sides next revision
raspberry_boards:duino-pi_modification [2016/01/20 21:48]
admin [Install Shutdown & Reset Button]
raspberry_boards:duino-pi_modification [2016/01/20 21:51]
admin [Install Shutdown & Reset Button]
Line 63: Line 63:
 4. Reboot 4. Reboot
   $ sudo reboot   $ sudo reboot
-\\+ 
 +---- 
 +==== Install Blinking LED ==== 
 + 
 +1. Make an folder (if not existing) 
 +  $ mkdir /​home/​pi/​paper-duino-pi 
 +  $ cd /​home/​pi/​paper-duino-pi 
 + 
 +2. Download and unzip that Python script 
 +  $ wget http://​www.dernulleffekt.de/​programme/​blink_22.py.tar.gz 
 +  $ tar xf blink_22.py.tar.gz 
 +   
 +2. Change owner & rights 
 +  $ sudo chown root:root blink_22.py 
 +  $ sudo chmod 755 blink_22.py 
 +   
 +3. Create the autostart:​ 
 +    $ sudo nano /​etc/​rc.local 
 +write before exit 0: 
 +   # run reset and shutdown script 
 +   ​printf "​Starting blinking LED on GPIO 22" 
 +   /​home/​pi/​paper-duino-pi/​blink_22.py & 
 +    
 +To save and leave press:\\    
 +CTRL+O, Enter, CTRL+X\\ 
 + 
 +4. Reboot 
 +  $ sudo reboot
  
 ---- ----