The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.