Some sample codes which has been run successfully with  Sensinode for the purpose of programming a Wireless Sensor Network.