Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Raspberry Pi GPIO with HiPi

by jmlynesjr (Chaplain)
on Jun 17, 2020 at 00:37 UTC ( #11118154=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    
    ...
        $pin->value(0);                    # LED off
        sleep(1);
    }
    
  2. or download this
    #! /usr/bin/perl
    #
    ...
    
        sleep(.1);                         # Delay 100ms
    }
    
  3. or download this
    #! /usr/bin/perl
    
    ...
        } 
        return $pin->{pinval}; 
    }
    
  4. or download this
    #! /usr/bin/perl
    # hipipolledencoder.pl - Rotary Encoder Driver for Perl HiPi RPi GPIO 
    +Package
    ...
        }
        $last = $encoded;
    }
    
  5. or download this
    #! /usr/bin/perl
    
    ...
    
        sleep(3);
    }
    
  6. or download this
    Installing Quisk SDR Transceiver Software on a Raspberry Pi 3B+
    ---------------------------------------------------------------
    ...
    uname -a                                (Display Linux Release)
    Disks                                   (Linux disk partitioning utili
    +ty)
    pinout                                  (Displays the RPi Pinout table
    +)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2021-02-25 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?