Advertisement
Guest User

Untitled

a guest
Nov 6th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. alias gpio=/usr/local/bin/gpio
  3. gpio mode 1 pwm
  4. gpio pwm 1 1
  5. sleep 30
  6. gpio pwm 1 2
  7. sleep 30
  8.  
  9. for i in `seq 3 1023`
  10. do
  11. gpio pwm 1 $i
  12. sleep 0.1
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement