Professional Documents
Culture Documents
Send Text Messages With A Raspberry Pi and Nexmo - Raspberry Pi - Maker Pro
Send Text Messages With A Raspberry Pi and Nexmo - Raspberry Pi - Maker Pro
Send Text Messages With A Raspberry Pi and Nexmo - Raspberry Pi - Maker Pro
while True:
try:
# Reading the motion sensor pin state
pin_state = GPIO.input(sensor_pin)
if pin_state==0: #When output from motion sensor is LOW
print "Body Not Detected",pin_state
sleep(0.1)
https://maker.pro/raspberry-pi/projects/how-to-send-text-messages-from-a-raspberry-pi 1/1