Need help for C# count down timer with rs232 protocol

Status
Not open for further replies.

benze

Newbie level 5
Joined
Dec 15, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Philippines
Activity points
1,337
I have an application using Visual C# that interface to my microcontroller. I have only used buttons to write buttons in the RS232. I want to make a count down timer
so that every time my count down timer reaches zero it will send/write a stop to the microcontroller via rs232 protocol. Any one has an idea to this one? any sample code
will help a lot?

tnx,
 

Cant you just use the Timer component?
Drop one on the form and set it's interval property to whatever time you need.
Use the timer interrupt to count down and send the message.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…