Does anybody here have experience with using the NXP BGB203 chip? I am having a testlab issue and the situation is becoming dire.
The issue is that the testlab needs to see the device modulate data at a fixed frequency for measuring purposes. Our previous device modulated just fine, but our...
I know how to define a byte, but I don't know how to use it. I'm using some serial communication, and I need to see if a command is received.
ExitCmdString: DB 45h, 78h, 69h, 74h, 43h, 6Dh, 64h, 00h
My command interpreter is going to look at each character received and if all chars received...
I'm trying to pull a character from the serial port, and I'm having some trouble. I need to have a program listen to the serial port and print a character if it sees one, or send a character out if a key is pressed. Using Turbo C 2.1 on a Windows 2k machine.
/* -- Includes -- */
#include...
I have a major problem with the union REGS regs command in C. I have a program, source below, that generates errors whenever I compile. I've used Borland C++ 6.0, Visual Studio.NET, and Borland C++ 5.5. All of said compilers on Windows 2k, and all generating same errors, saying that...
What about if you're using Dev C and you're writing a console application?
// Local variables.
union REGS dRegs; // assembly date registers union
union REGS mRegs; // assembly mark date registers union
union REGS tRegs; //...
I am yet to program a windows terminal program for the serial interface. Currently learning Visual Studio.NET and teaching myself what to do with the serial interfaces.
I will post my future findings in this forum.
Like I said, I am using Turbo C (I know, an old compiler) but it's only for a DOS terminal. A small terminal that doesn't run windows or anything like that. Turbo C is all that you need. Now, if you're using dev c++ or vc++, you'll need to use different header files more than likely.
Good luck.
You might need the newest version of ActiveSync. 3.7. Go to Microsoft's Website and download it. That might help. I know people who have had trouble with 3.5 and 3.7 cleared it up.
I'm looking for a program for CE.NET that could flip the screen 90 degrees. Does anybody have one or have they seen one? Or am I gonna have to write one? :-(
Thanks.
Yes. It is quite possible, as long as you have the tools. I would start rummaging around http://msdn.microsoft.com to learn some more information, as you have to have some additional packages with Visual Studio.NET, all of which are available for free from Microsoft's website.
Let me know...
I think that it should work, running a dos window. I'm using Win2k, and I compiled using Borland Turbo C. It works pretty well, actually, and I would give it a try. Let me know what you find out.
I've also built on this code, sending text files as strings and whatnot. The key here is the...
I was successful in getting this to work using the inportb and outportb functions.
/* This program is used to pull data from the serial port */
#include <dos.h>
#include <stdio.h>
#include <conio.h>
#define PORT1 0x3F8 /* Defines Serial Port Base Address (COM1 */
void main(void){...
Most major colleges and Universities teach C/ C++ in their coursework for engineering. C is the easiest to learn and most powerful for programmers. Also, while in an interview, people who want you to know C will ask "Do you know C?"
There really aren't certifications that I know of.
After doing some manipulation, I found out that you were examining the wrong register. You needed to be examining the MSR (modem status register) instead of the Line Status register.
I guess that nobody is perfect.
Alright, that's all fine and good. You know your stuff, and when you give advice, it would be a little more helpful if you weren't as demeaning.
We're not expert programmers, that's why we post on here.
Also, I called the file outfile, because the serial port is sending the file out to a...
And I have to use handshaking. That's the whole point of the program, to verify that a system has proper handshaking wiring.
for(count = 0; count <= 3360; count++){
if(fscanf(outfile, " %s", sequence)!=EOF){
fscanf(outfile, "%s", sequence);
for(count2 = 0; count2...
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.