--===============0149234501== 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 out there who have solved or came in contact with this kind of problem.. thanks.. "Jan-Erik Söderholm" 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 might > 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öderholm" wrote in message > news:45682868.60503@telia.com... >> Genome skrev: >> >>> Hello, >>> From the Max232 datasheet, from one of the shematics page17. I see that >>> 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 R2out >>> and >>> R1out are defaulted to On +5volt state.. I need this pin to to default >>> low >>> 0volts.. Is there a hardware approach to do this or should I just invert >>> 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 --===============0149234501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============0149234501==--