Azuria

Raspberry Pi - php class controlling GPIO - test.php

Sep 27th, 2012
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.15 KB | None | 0 0
  1. <?php
  2.  
  3. ## http://stjernemor.dk
  4.  
  5. include("GPIO.php");
  6. $gpio = new GPIO();
  7. $gpio->Value(1, 1);
  8. sleep(1);
  9. $gpio->Value(1, 0);
  10. $gpio->Off();
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment