Michael Collins > LEGO-NXT-2.00-1 > LEGO::NXT::USBComm

Download:
LEGO-NXT-2.00-1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

LEGO::NXT::USBComm - The USB Communication Module For the NXT

SYNOPSIS ^

  use LEGO::NXT::USBComm;

  $comm = new LEGO::NXT::USBComm();

DESCRIPTION ^

Presents a USB comm interface to the LEGO NXT for internal use in the LEGO::NXT module.

METHODS ^

new

  $interface = 0; 
  $comm = new LEGO::NXT:USBComm($interface) 
  $nxt = LEGO::NXT->new( $comm );

Creates a new USB comm object. $interface will usually be 0 unless you're using more than one NXT.

syntax highlighting: