Hi, = You can set the DTR however you like in .Net 2.0. Use the DtrEnable property of the SerialPort class. Perhaps You also have t= o = set handshake to Handshake.None. / Ruben > thanks You are correct.. Unfortunately I donthave control over this in c#= as I > was intending to use the other pins other than handshaking. and as of now= this > is not doable in .Net 2.0.. the problem is not on the PIC side but rather= on > programming limitations in the PC side.. I'm sure there are better guys o= ut > there who have solved or came in contact with this kind of problem.. than= ks.. > = > "Jan-Erik S=F6derholm" wrote in message = > news:45683B20.6090801@telia.com... > I would expect the standard Windows drives to set/clear the > handshaking pins according to whatever the RS232 standard says. > = > Jan-Erik. > = > Genome skrev: > > thanks.. > > I just found out by searching the net for long that the serialport puts = > > the > > dtr line to off +3volts to tell the device at the other end that it is > > ready. I thought it was the the otherway around On -3volts or it may be > > different on other computers so I thought if If I just bit test It migh= t not > > work always.. As Im using C# to do serialport on the PC side and have no > > direct access to the DTR pin.. I cant set or clear the pin using C# on = the PC > > side, the computer seems to automaticaly set dtr to low when I attempt = to open > > the port.. thanks.. > > > > "Jan-Erik S=F6derholm" wrote in message > > news:45682868.60503@telia.com... > >> Genome skrev: > >> > >>> Hello, > >>> From the Max232 datasheet, from one of the shematics page17. I see th= at > >>> R1in(pin13) and R2in(pin8) are pulled to ground via a 5kohm resistor.= . when > >>> the max232 chip is not hooked to the serialport the partnered pins R2= out and > >>> R1out are defaulted to On +5volt state.. I need this pin to to defaul= t low > >>> 0volts.. Is there a hardware approach to do this or should I just inv= ert the > >>> inputs via software when querying for pin values when needed. thanks. > >> What is the actual problem you are trying to solve ? > >> What is the problem with having the pins high as default ? > >> What will change besides selecting BTFSC or BTFSSS ? > >> > >> Jan-Erik. > >> > >> -- = > >> http://www.piclist.com PIC/SX FAQ & list archive > >> View/change your membership options at > >> http://mailman.mit.edu/mailman/listinfo/piclist > >> > > > > > > > = > -- = > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > = > = > = > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Ruben J=F6nsson AB Liros Electronic Box 9124, 200 39 Malm=F6, Sweden TEL INT +46 40142078 FAX INT +46 40947388 ruben@pp.sbbs.se =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist