-
February 26th, 2013, 05:56 AM
#1
Sending Byte to serial port
Hi all
I need to send a packet of type byte: 0x00, 0x01, 0x02, 0x11, 0x00, 0x00 to a device via the serial port and then I receive and store data coming from device like this: 0x01, 0x01, 0x01 , 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x01, 0x00.
Someone could send me lines of code through which:
1) I create the array
2) the sending the array to serial port
3) I'll see what I'm sending
4) I get the data
I'm using Visual Studio 2010 and C + + or VC++ language.
I hope someone can help me
greetings
f
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|