Code for Development of a WSN lab