|
Re: free C compiler for Windows
The Windows API for serial communication has a function (EscapeCommFunction) which can be requested to clear or set RTS state.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
Thus, any compiler which links to the Windows API can use it.....
I've used the VC++ compiler before (on windows), and Cygwin when building from my Linux machine. VC++ Express and Cygwin are both free. winapi also has a Sleep() function. The MSDN page on Sleep() has more information.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|