User Tools

Site Tools


gpio_inputs_-_led_control_via_a_button_and_interrupt

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gpio_inputs_-_led_control_via_a_button_and_interrupt [2017/02/01 22:07] – [Example Output] walkeradmingpio_inputs_-_led_control_via_a_button_and_interrupt [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 7: Line 7:
 Create a new file in the normal way ( you can download the python file {{ :led-button-i.zip |here}} to save time) Create a new file in the normal way ( you can download the python file {{ :led-button-i.zip |here}} to save time)
 \\  \\ 
 +<sxh [py][; options for SyntaxHighlighter]>
     sudo nano LED-Button-i.py     sudo nano LED-Button-i.py
  
Line 47: Line 48:
          
     #End     #End
 +</sxh>
 \\  \\ 
 Once you have your file saved, you can run it by using: Once you have your file saved, you can run it by using:
Line 54: Line 56:
 ===== Example Output ===== ===== Example Output =====
 \\  \\ 
-Here you can see the code running {{ :led-button-i.mp4?640x360 |(video)}}+Here you can see the code running
 +\\  
 +\\  
 +{{:led-button-i.mp4|640x360|autoplay,loop}}
 \\  \\ 
 \\  \\ 
gpio_inputs_-_led_control_via_a_button_and_interrupt.1485986853.txt.gz · Last modified: 2023/03/09 22:35 (external edit)