At 01:11 28/04/96 -0400, you wrote: >Hello, > >I am a beginner at using PICs and would like to do some RS232,422,485 >communications. Not sure exactly which one yet but eventually I imagine >all. I would like to create some programs using visual basic or visual >c++. > >(1st ?)What is the command for reading and writing data to and from the >data bus of my PC in Visual C++ or Visual Basic? Do both of these >softwares do this? > >(2nd ?)What addresses does a person access in order to do standard RS232 >communication. Read Address? Write Address? > >Craig Gooder, Minnesota > > Craig I have done some communications tests using Visual Basic and QBasic. In visual Basic you have to add the file MSCOMM.VBX that is in the WINDOWS\SISTEM\ directory. Then you have to add the COMUNICATION CONTROL to your form and configure it thru the properties. Your program has to open the communication line using the following order comm1.PortOpen = True for writing data to the port you can use the following order Comm1.Output = Chr$(170) + Chr$(128) 'Sending 170 and 128 to the serial port For reading data from the port Data$=Comm1.input About the adreses I don't know. I've only done communication using the orders above Ricardo