This source code can read the potentiometer and buttons on the Microchip's WCM board, sending their values to Ubidots, as well as reading ON/OFF variables from Ubidots to control the board's LEDs from the cloud.