Update 'raspberry_pi_IR_take_pic.sh'
This commit is contained in:
parent
cfd5faf9ed
commit
e8e611aa2b
@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
# take a picture.
|
# take a picture.
|
||||||
# First turn on IR LEDS
|
# First turn on IR LEDS
|
||||||
# GPIO17 is tyhe ground side of the IR leds, so setting it to 0 turns them on
|
# GPIO17 is the ground side of the IR leds, so setting it to 0 turns them on
|
||||||
|
# Note this is through a 220 Ohm resdistor limiting the current to about 10 mA
|
||||||
if [ -d /sys/class/gpio/gpio17 ]; then
|
if [ -d /sys/class/gpio/gpio17 ]; then
|
||||||
echo " gpio17 already exists "
|
echo " gpio17 already exists "
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user