From: Bjorn G. <bg...@si...> - 2008-10-03 09:50:16
|
On Mon, 29 Sep 2008 10:49:13 +0100 "Jonathan Lewis" <jo...@cs...> wrote: > On brief inspection there don't appear to be xmem_off, adc_off, > sensors_light_off functions. Presumably I would have to come up with my own > if I wanted to temporarily switch all these off. Taking xmem as an example, > the following > > P4OUT |= BV(FLASH_PWR); /* P4.3 Output, turn on power! */ > > in xmem_init (xmem.c), and assuming it turns the power on there must be a > similar way to switch it off, and likewise for the ADC and light sensors. If memory serves me right the wireing on the Telos B made it possible to power off the M25P80 chip. On the confusingly similar Tmote Sky this was no longer possible, what one can do instead is to put the M25P80 ship into "Deep Power-down (DP)" mode. Cheers, /b -- _ _ ,_______________. Bjorn Gronvall (Björn Grönvall) /_______________/| Swedish Institute of Computer Science | || PO Box 1263, S-164 29 Kista, Sweden | Schroedingers || Email: bg...@si..., Phone +46 -8 633 15 25 | Cat |/ Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30 '---------------' |