I have researched mscomm on this website and others and cannot find what I'm looking for. I would like to know how to send data from my computer, through either serial or parallel port, to send 8 bits to a relay.

Does anyone have any example code or good web sites that discuss output instead of input using mscomm?

Thanks for any help.