| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #9

Re: Where do I submit code?

Posted By: Ryan Snodgrass <ryan.snodgrass@u...>
Date: 8/29/00 10:38pm

In Response To: Where do I submit code? (Brian Paulsen)

Brian:

This is a really cool Perl module, thanks for throwing this together! So I am able to receive commands from my CD changer when I push buttons but when I try to replay them back as the same command nothing appears to happen. Any ideas? Here is what I am doing:

 my @data = ( 152, 2 ); $slinke->sendData( DATA => \@data,

PORT => "PORT_SL0" );

while (1) {

my $input = $slinke->requestInput();

if ( defined($input) ) {

printf("Received data on port %s...\n", $input->{ PORT });

my $data = $input->{ DATA };

foreach my $i ( @$data ) {

printf("$i\n");

}

} }

Immediately after running I just get echoed back to me:

Received data on port PORT_SL0... 152 2

Later! Ryan

Responses To This Message

| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #9 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.