What are the differences in serial port RS232 vs USB programming?
I have the option to interface with hardware in RS232 or USB and I’m not sure how to pick one.
What are the main differences if any when actually programming to the device?
Is this relevant to both?
Serial Communications: http://msdn.microsoft.com/en-us/library/ff802693.aspx
It can depend on the hardware.
Some hardware, notably the FTDI chip family can do both, and it even provides libraries you can easily use for both cases. It even provides the functionality to emulate RS232 through USB.
The problem with limiting yourself to RS232 is that most modern PCs don’t have physical ports for it. So it really depends on what area your application is used in.