View Single Post
  #11   Spotlight this post!  
Unread 28-06-2006, 22:58
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Serial Communications

You can use VC++, but I use C#. You need to look at the System.IO.Ports namespace on MSDN. You are going to want to use the SerialPort class. A couple of examples (in C#) can be found here.

As for the UI, the windows System.Windows.Forms library is very easy to work with and has lots of controls. You can use the Trackbar control (which is the slider) to get input values and then send them to the RC with the serial port.