I've worked it out!
Thanks again for your help, if you are ever in Oxford then I owe you at least one pint!
Type: Posts; User: ricky1981
I've worked it out!
Thanks again for your help, if you are ever in Oxford then I owe you at least one pint!
I'm trying to send the command using writebyte since write did not seem to work. I just don't know the exact syntax to use :s
Thanks so much!! Am now able to get the reading from the balance! However, I need to get the reading every 5 seconds or so, which requires sending the command 'S(carriage return)', could you explain...
When I try to compile that I get
Compiling...
SFile.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
Debug/rs232.exe...
Hi, could someone please supply me with code for Visual C++ to read from an RS232 connection on Com port 1 with 9600 baud, even parity, 1 stop bit and 7 data bits. I don't care about writing...
Umm maybe I've missed something obvious here but how do I define time in C++? I want to send a sine wave (and other waveforms hopefuly) to a pci card and I have a dll which allows me to set the value...
I'm trying to produce a sine wave with a period chosen by the user. I'm sure this should be quite simple to do but I can't work out how to produce a sine wave with a set period (in secodns as opposed...