Communication / GPRS+GPS

» GPRS SIM928A 18: I/O control by TCP

Last edition: Jan 10th, 2017 |

This example shows how to manage I/O pins of Waspmote using a TCP/IP connection for sending commands. These commands are: - READ/n_analog_input for read an analog pin - WRITE_1/n_digital_output for put '1' in a digital pin - WRITE_0/n_digital_output for put '0' in a digital pin - SLEEP/ for send the Waspmote to sleep 1 hour