Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1.  
  2. bcm2835_gpio_fsel(44, BCM2835_GPIO_FSEL_OUTP);
  3.  
  4. bcm2835_gpio_write(44, HIGH);
  5. usleep(500000); // 500 ms
  6. bcm2835_gpio_write(44, LOW);
  7. usleep(20000);
  8.  
  9. bcm2835_gpio_fsel(44, BCM2835_GPIO_FSEL_INPT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement