Help for this page

Select Code to Download


  1. or download this
    Can't find 'boot_RPi__ADC__MCP3008' symbol in /usr/local/lib/perl/5.18
    +.2/auto/RPi/ADC/MCP3008/MCP3008.so
     at /usr/local/lib/perl/5.18.2/RPi/ADC/MCP3008.pm line 12.
    
  2. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
        int    spi
        int    mode
        int    input
    
  3. or download this
    require XSLoader;
    XSLoader::load('RPi::ADC::MCP3008', $VERSION);
    
  4. or download this
    use strict;
    use warnings FATAL => 'all';
    ...
        dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
        clean => { FILES => 'RPi-ADC-MCP3008-*' },
    );