Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Finally! Perl code for the MCP3008 Analog to Digital Converters

by stevieb (Canon)
on Mar 11, 2017 at 21:38 UTC ( [id://1184297]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $spi_channel = 0;
     
    ...
    
    __END__
    input value: 776, 78.49
    
  2. or download this
    my $chan = 26; # (GPIO pin 26)
    my $adc = RPi::ADC::MCP3008->new($chan);
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://1184297]
Approved by Albannach
Front-paged by beech
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found