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

Does the Mini (or any Netduino) have user accessible timers?

Mini Netduino Timer

  • Please log in to reply
1 reply to this topic

#1 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 15 July 2013 - 06:06 AM

[font="'times new roman', times, serif;"]Hello![/font]

[font="'times new roman', times, serif;"]Currently I have my Mini running a program that makes use of blocks like this one:[/font]

                Thread.Sleep(575);                led7.Write(false);                led6.Write(false);                led5.Write(false);                led4.Write(false);                led3.Write(false);

[font="'times new roman', times, serif;"]Those are used to obviously turn off the connected devices. What I am presently wondering is if the Mini contains any user accessible timers.[/font]

 

[font="'times new roman', times, serif;"]As I understand things from the bigger processor side, these would be found on an appropriate peripheral output part, and could be set by writing to its assigned port. The user would then get a defined wait-state in milliseconds, and then a response, a triggered function as output. In this case, I am surmising that my use of things in that block is that the function as defined is one, but that the output spreads itself across that grouping. I can embed an appropriate timer part such as the SN74LS294 [/font]Attached File  sn74ls294.pdf   460.41KB   2 downloads[font="'times new roman', times, serif;"] and apply it directly to the PAL chip that's being so driven by both the existing buffer and of course the Mini, but having the presence of a timer onboard the Mini would save me in board real-estate.[/font]

 

[font="'times new roman', times, serif;"]Incidentally, the function to turn on the connected devices would have the [font="'lucida sans unicode', 'lucida grande', sans-serif;"]false[font="'times new roman', times, serif;"] be replaced by a [font="'lucida sans unicode', 'lucida grande', sans-serif;"]true[/font] instead.[/font] [font="'times new roman', times, serif;"]of course separated by a sleep function of the appropriate time in milliseconds.[/font][/font][/font]



Doctor Who
"This signature does not exist!"

#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 15 July 2013 - 07:19 AM

NETMF contains timers.

 

You can find some examples and a write up on the subject of NETMF timers here.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter






Also tagged with one or more of these keywords: Mini, Netduino, Timer

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.