S
Schmigz
I am writing a program to send data to a Digital Picture Frame I am
currently designing. It has a serial port that I have configured and
I have successfully sent data using the win32::SerialPort module. The
problem I am having is I need to send a raw bit stream out the serial
port. I have an array of strings that contain raw binary data (eq.
"00101001") that is the color information I need to send. When I send
the string, it converts the bit stream to ascii for sending. My code:
foreach $color (@RGB)
{
$PortObj->write($color);
}
What must I do to be able to send the data so that it is not converted
to ascii before being sent and the raw data is sent.
Thanks.
currently designing. It has a serial port that I have configured and
I have successfully sent data using the win32::SerialPort module. The
problem I am having is I need to send a raw bit stream out the serial
port. I have an array of strings that contain raw binary data (eq.
"00101001") that is the color information I need to send. When I send
the string, it converts the bit stream to ascii for sending. My code:
foreach $color (@RGB)
{
$PortObj->write($color);
}
What must I do to be able to send the data so that it is not converted
to ascii before being sent and the raw data is sent.
Thanks.