RIOTOUS Light Example
This example uses a generic PIC16 device (such as the PIC16F1516), and uses the RIOTOUS_IO.c example as seen in step 2. Another file, config, is not shown here but it just configures the internal oscillator for maximum speed, turns off the ADC modules, and properly configures the IO ports. For this IoT project to work, a RIOTOUS server is needed! You may notice the D letter in the two strings ledon and ledoff, this is because when RIOTOUS sends data (server or client), a letter is appended at the beginning to inform the receiving device what the packet is. D stands for data!