.NET Micro Framework v4.0 coming soon!
By Martin Welford
Microsoft has announced that v4.0 will be available in public beta very soon. Sign up at the Microsoft Connect site so you can download it when it is released!
We will be supporting 4.0 on all our hardware, and will rolling out beta versions soon after the release.
This entry was posted on September 1, 2009 at 7:13 pm and is filed under .NET Micro Framework. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
September 10, 2009 at 12:37 pm |
Hello,
I would go out on my out put 0′s and 1′s by making breaks of 888μs.
So I tried using Thread.Sleep (889) in c # I just wants him μs
whereas here it is in ms.
Please help.
September 10, 2009 at 6:47 pm |
Hi
The best resolution you can get from Sleep is 1ms. If you need to do more accurate timing I suggest you write something in native code. Use the contact page on the web site and I will get you setup for this.
September 11, 2009 at 6:33 am |
In fact I want to use the TahoeII as a remote control so I made a small transmission circuit is connected to TahoeII, my goal is to send a frame infrared light from Manchester encoding only I can not translate 889μs using Thread.uSleep (889μs) does not work in c #.
Here is my program:
namespace MFConsoleApplication3
{
public class Program
{
public static void Main()
{
OutputPort outputPort = new OutputPort(MeridianP.Pins.GPIO1, false);
//bool temp = true;
int Donnee;
int temp;
Donnee = 14420;
while (true)
{
//int i;
for (int i = 0; i > 1;
}
}
}
}
}
Help please.
September 11, 2009 at 10:04 pm |
The current time is available in micro second resolution.
Pavel Bansky has some code that uses this in his blog post on controlling servos from the Micro Framework.
http://bansky.net/blog/2008/05/control-servos-from-micro-framework/
If you need exactly 888us then native code might still be the best way to go.
September 11, 2009 at 6:36 am |
In fact I want to use the TahoeII as a remote control so I made a small transmission circuit is connected to TahoeII, my goal is to send a frame infrared light from Manchester encoding only I can not translate 889μs using Thread.uSleep (889μs) does not work in c #.
OutputPort outputPort = new OutputPort(MeridianP.Pins.GPIO1, false);
//bool temp = true;
int Donnee;
int temp;
Donnee = 14420;
while (true)
{
//int i;
for (int i = 0; i > 1;