Greg McCarroll (deceased) > Device-USB-MissileLauncher-0.03 > Device::USB::MissileLauncher

Download:
Device-USB-MissileLauncher-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Device::USB::MissileLauncher - interface to toy USB missile launchers

SYNOPSIS ^

  use Device::USB::MissileLauncher;
  my $ml = Device::USB::MissileLauncher->new();
  $ml->do('left');
  $ml->do('up');
  $ml->do('fire');

DESCRIPTION ^

This implements a basic interface to the toy USB missile launchers that were on sale in Marks and Spencers Christmas 2005 and later at 'I want one of those'.

It has two methods - new() and do(). do() takes a string out of the following list.

  stop
  left
  right
  up
  down
  leftup
  rightup
  leftdown
  rightdown
  fire

THANKS ^

Ian Jeffray published some C code to work with the Missile Launcher at http://ian.jeffray.co.uk/linux/ and Scott Weston published some Python code at http://scott.weston.id.au/software/pymissile-20060126/ , both sets of code helped a lot when I was working out how to control the toy.

Jonathan Stowe also helped with the debugging to get v0.03 out, he spotted the C code sending the init strings everytime.

AUTHOR ^

Greg McCarroll <greg@mccarroll.org.uk>

COPYRIGHT ^

Copyright 2006 Greg McCarroll. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Device::USB

syntax highlighting: