This website works better with JavaScript.
Home
Explore
Retour au site NSI
Help
Sign In
aboulin.a
/
projet_domotique_serveur
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12
Commits
1
Branch
0
Tags
654 KiB
Tree:
64ec135d02
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '64ec135d02'
${ noResults }
projet_domotique_serveur
/
scripts
/
led.sh
10 lines
107 B
Raw
Normal View
History
3.14159265
2 years ago
#!/bin/bash
gpio mode
$1
out
if
[
gpio
read
$1
=
1
]
then
gpio write
$1
0
else
gpio write
$1
1
fi