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

miniscule waiting times


  • Please log in to reply
2 replies to this topic

#1 michielvd

michielvd

    Member

  • Members
  • PipPip
  • 15 posts

Posted 05 March 2011 - 04:57 PM

I'm trying to make a dmx controller with a netduino. the basics of dmx is to send a bit every 4 microseconds. Has anybody an idea on how to wait 4microseconds? The thread.Sleep method only works with milliseconds :(
Microsoft: Leading the world in selling expensive pieces of %#!*.

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 March 2011 - 11:23 AM

Hi michielvd, Two options: 1. If you want to use serial to control DMX, another community member just posted their DMX comm project. 2. .NET MF won't give you microsecond-resolution pauses...but you can write your DMX driver code in native C++ if you'd like and compile it into the firmware...and then call it from .NET MF. Chris

#3 michielvd

michielvd

    Member

  • Members
  • PipPip
  • 15 posts

Posted 09 March 2011 - 04:16 PM

I already read the post and it seems like a valid idea. I tried this myself but I just couldn't figure out how the SerialPort class works. I hope I can get it working now. Thanks for the reply.
Microsoft: Leading the world in selling expensive pieces of %#!*.




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.