|
Slink-e / CDJ Discussion Archive #3 Re: Paralell port on slinke2Posted By: Richard Malcolm-Smith <richard.ms@i...> In Response To: Re: Paralell port on slinke2 (Colby Boles)
it works fine with the slinke lust powered up (Using a 12k pullup) - the voltage swings between 5.04 (inactive input) and 1.1 (active). If I access the paralell port in any way that is usefull then it either sets the output as high or as low. I am trying with the following code (Delphi) to set up the port at the moment with no sucess. If I power cycle the slinke then it works fine to read it.. procedure TForm1.FormCreate(Sender: TObject);
Slinkx1.AddDevice('low','lowlevel.cde', 1, 1, $000) ; Slinkx1.ReportNoMatch := 1 Slinkx1.Send('low', 'parhs[00]') ; //No handshaking... Slinkx1.Send('low', 'pardir[ff]') ; //All inputs.. Slinkx1.Send('low', 'par[00]') ; //should do nothing, just making sure (have tried it without this line here as well..)
Slinkx1.DeleteDevice('low') ;
and to read it at the moment I have got....
Slinkx1.Send('low', 'parread[]') ;
Responses To This Message
Slink-e / CDJ Discussion Archive #3 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21. |