Jeremiah Mahler > Device-MegaSquirt-0.01 > Device::MegaSquirt::MS2ExtraRel303s

Download:
Device-MegaSquirt-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Device::MegaSquirt::MS2ExtraRel303s - operations for version 'MS2Extra Rel 3.0.3s'

SYNOPSIS ^

 $ms = Device::MegaSquirt->new($device);

 $tbl = $ms->read_advanceTable1();
 $res = $ms->write_advanceTable1($tbl);

 $tbl = $ms->read_veTable1();
 $res = $ms->write_veTable1($tbl);

 $val = $ms->read_crankingRPM();
 $res = $ms->write_crankingRPM($val);

 $data = $ms->read_BurstMode();

DESCRIPTION ^

This modules implements the version specific operations of Device::MegaSquirt for version 'MS2Extra Rel 3.0.3s'.

OPERATONS ^

Device::MegaSquirt::MS2ExtraRel303s->new($mss)

  Returns object TRUE on success, FALSE on error

Given a Device::MegaSquirt::Serial object ($mss) it creates a new object.

 $ms = Device::MegaSquirt::MS2ExtraRel303s->new($mss);

Normally this is called from MegaSquirt->new() and is not called directly.

 $ms = Device::MegaSquirt->new($dev);

$ms->read_BurstMode()

  Returns: TRUE on success, FALSE on error

Retrives one chunk of burst mode data.

  $data = $ms->read_BurstMode();
  print $data->{'pulseWidth1'} . "\n";

$ms->read_advanceTable1()

  Returns: Text::LookUpTable object (TRUE) on success, FALSE on error

  $tbl = $ms->read_advanceTable1();

$ms->write_advanceTable1()

  Returns: TRUE on success, FALSE on error

  $ms->write_advanceTable1($tbl);

$ms->read_veTable1()

  Returns: Text::LookUpTable object (TRUE) on success, FALSE on error

  $tbl = $ms->read_veTable1();

$ms->write_veTable1()

  Returns TRUE on success, FALSE on error

  $ms->write_veTable1($tbl);

$ms->read_crankingRPM()

  Returns $val on success, FALSE on error

 $val = $ms->read_crankingRPM();

$ms->write_crankingRPM($val)

  Returns TRUE on success, FALSE on error

 $res = $ms->write_crankingRPM($val);

REFERENCES ^

  [1]  MegaSquirt Engine Management System
       http://www.msextra.com/

  [2]  http://home.comcast.net/~whaussmann/RS232_MS2E/RS232_MS2_tables.htm#adv_tbl

AUTHOR ^

    Jeremiah Mahler <jmmahler@gmail.com>
    CPAN ID: JERI
    http://www.google.com/profiles/jmmahler#about

COPYRIGHT ^

Copyright (c) 2010, Jeremiah Mahler. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.

SEE ALSO ^

Text::LookUpTable, Device::MegaSquirt

syntax highlighting: