Michael Collins > LEGO-NXT > LEGO::NXT::MacBlueComm

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

syntax highlighting: