Hi, Use the VoltageC component:
components new VoltageC(); It offers a Read<uint16_t> interface. The calculate the actual voltage, divide the value by 4096 and multiply by 3. E.g., if the read(..) event gives you the value rawVolt: realVolt = rawVolt * 3 / 4096. Cheers, Urs On 04/05/2011 01:08 PM, hayet nasri wrote: > > hello all > I am working on a project to manage WSN with SNMP. I would know how can i > get the level of battery of telosb mote. So is there a way to do so? > thanks > > hayet nasri _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
