Hi everybody!! I am new to this community.
I am having some little problem with my Fez Cerbuino Bee.
I am trying to put it down to sleep, since I am using this for a GPS/GPRS project. It is all done, except the hibernation (or sleep mode) so it’s not consuming current while waiting for the next iteration that GPS has to activate.
I have seen this on the forum:
[quote] Microsoft.SPOT.Hardware.PowerState.MaximumTimeToActive = new TimeSpan(TimeSpan.TicksPerSecond * 10);
Microsoft.SPOT.Hardware.PowerState.Sleep(SleepLevel.Sleep,HardwareEvent.SystemTimer);[/quote]
Where it should sleep for 10 seconds. But it is not doing anything at all, kind of ignoring the line, since code it’s not even pausing for the 10 seconds.
Anybody knows what’s the reason? I do not need any “DeepSleep” as it would stop the RTC clock, so I’m guessing “sleep” is the way to go.
To the other person on the forum whom I copied the “way to go” to, at least he says his ‘sleep’ was working, only not awakening by timer, which is another thing. Here is the link to his topic: https://www.ghielectronics.com/community/forum/topic?id=14490
Thank you everybody.