LEGO::NXT::MacBlueComm - The Mac Bluetooth Communication Module For the NXT
use LEGO::NXT:MacBlueComm; $comm = new LEGO::NXT::MacBlueComm();
Presents a bluetooth comm interface to the LEGO NXT on the Mac for internal use in the LEGO::NXT module.
$serial_port = '/dev/tty.NXT-DevB-1'; $comm = new LEGO::NXT:MacBlueComm($serial_port) $nxt = LEGO::NXT->new( $comm );
Creates a new Mac Bluetooth comm object based on a Mac Bluetooth serial port.
To install LEGO::NXT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LEGO::NXT
CPAN shell
perl -MCPAN -e shell install LEGO::NXT
For more information on module installation, please visit the detailed CPAN module installation guide.