I used c# timer but it's minimum value is 1ms ,
I need timer range in microseconds
mnf
0
Newbie Poster
Recommended Answers
Jump to PostI doubt you need a Microsecond timer. That barely gives whatever logic you call enough time to initialize. What are you trying to do?
Jump to PostWell... I guess you could have a valid reason for wanting to do it :P. However it probably wasn't included because .NET is intended for application development and not so much realtime operations like this. You can time events every 0.5ms or however you want but I think your next …
Jump to PostThe Timer.Interval property is defined as a double, so if you want 10 microsecs you could try Timer.Interval = 0.01;
But as sknake pointed out, I also doubt if it works, should say give it a try and succes!
Jump to PostHey! Way back I made a metronome with it! Very proud when after some soldering it actually worked.:icon_biggrin:
Don't know if the 555 is still popular today...Most certainly is. Last used one in an egg timer :p But they are still the #1 timing IC around
Jump to PostI suggest your best bet is to program something like a PIC microcontroller. Get it to accept a serial comms message that tells it frequency & mark space ratio. So your C# just sends a message to the dedicated hardware when it wants to change the modulation.
Fundamentally, 10 …
All 20 Replies
sknake
1,622
Senior Poster
Featured Poster
mnf
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
mnf
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
mnf
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
DdoubleD
315
Posting Shark
mnf
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
DdoubleD
315
Posting Shark
ddanbe
2,724
Professional Procrastinator
Featured Poster
Medalgod
7
Light Poster
ddanbe
commented:
Glad to know that!
+6
mnf
0
Newbie Poster
Greg Walker
6
Newbie Poster
sknake
commented:
the microsecond master has arrived. great first post!
+6
bbstamos
0
Newbie Poster
Greg Walker
6
Newbie Poster
TheBug
0
Newbie Poster
Diamonddrake
397
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.