Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Best practice for measuring time with out of box netduino


  • Please log in to reply
1 reply to this topic

#1 lunix15

lunix15

    New Member

  • Members
  • Pip
  • 2 posts

Posted 13 February 2011 - 08:23 PM

I've got an out of the box Netduino Plus, I know how to code C#, and I want some sort of time system without buying anything else. What is the best practice of time tracking given the constraints of this platform? One implementation I can think of is.. -Start a thread and use Thread.Sleep to raise events or execute code at certain intervals? But I'm wondering if there are better way to implement such a system (more reliable, more efficent, smaller code size etc.) At the moment I don't think I need absolute time, I just want some sort of relative system. Thanks

#2 dropsofjupiter89

dropsofjupiter89

    Member

  • Members
  • PipPip
  • 15 posts

Posted 13 February 2011 - 09:34 PM

Try this: http://forums.netdui...rch__1#entry514 It works very nicely.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.