Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am assembling a board which uses some IRFD110 MOSFETs but I don't know which way round to insert them. The PCB shows the components with a semi-circular cutout on one end, like many components, but the component itself has no such indicator. The MOSFETs are 4-pin devices with 2 pins linked...
The entire content of the EditBox is held in its Text property like this: EditBox1.Text
To get one character from that just use an index. EditBox1.text[1] is the first character in the string.
To get the ASCII value of a character use the ord function.
So you could have something like this...
troubleshoot serial interface
Not really. It is more usual to write if(a=='a') but the result is the same if you write it the other way around. Also note that writing if('a'==a) guards against a common bug. If you accidentally write a single equals sign instead of 2 signs togethr, ie...
Re: rs232 problem
By "computer" do you mean a PC running Windows? If so, it could be the common problem that Windows checks for a serial mouse during boot up. To get around this you can edit boot.ini to include something like:
/NoSerialMouse
This would apply to all ports. You can tell...
Perhaps 4 is in a list of standard interview questions somewhere, because I was asked that at an interview for a PC software post. My answer was that it depended on project priorities such as small code, fast code, or easy-to-maintain maintain code. I presented solutions based around...
which program is using serial connection
I think it is theoretically possible, but it would be hard work and it is likely to get very messy very quickly. The Ring Indicator pin changing state causes a hardware interrupt. You could create a handler for that interrupt. This would avoid the need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.