Help for this page

Select Code to Download


  1. or download this
    use Device::BCM2835 qw/RPI_V2_GPIO_P1_12 BCM2835_GPIO_FSEL_ALT5/;
    
  2. or download this
    *gpio_fsel = \&Device::BCM2835::gpio_fsel;
    
  3. or download this
    for my $s (qw/ gpio_fsel gpio_set /) {
        no strict 'refs';
        *$s = \&{"Device::BCM2835::$s"};
    }