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

NAME

LEGO::NXT::MacBlueComm - The Mac Bluetooth Communication Module For the NXT

SYNOPSIS

  use LEGO::NXT:MacBlueComm;

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

DESCRIPTION

Presents a bluetooth comm interface to the LEGO NXT on the Mac for internal use in the LEGO::NXT module.

METHODS

new

  $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.