Update 'raspberry_pi_IR_take_pic.sh'

This commit is contained in:
robin 2023-10-22 20:44:17 +00:00
parent cfd5faf9ed
commit e8e611aa2b

View File

@ -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