var led＝obniz.wired("led",{anode:0,cathode:1});//io0 is connected to anode,io1 is cathode