Browse files

no more symlink, & blinking is now optionnal

  • Loading branch information...
1 parent b223d67 commit 6e25e1b1126fd5c31f3e8d49051e59d1da0d20a1 @ronanguilloux committed Jul 16, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 thermometer
View
4 thermometer
@@ -18,4 +18,6 @@ if(!file_exists('/sys/bus/w1/devices/28-000003ced8f4/w1_slave')) {
$log = new Logger;
$log->persist(true);
$log->writeJsDatas();
-//$result = exec('sudo ./blinker 17 200000');
+if(file_exists("./vendor/ronanguilloux/php-gpio/blinker")) {
+ $result = exec('sudo ./vendor/ronanguilloux/php-gpio/blinker 17 200000');
+}

0 comments on commit 6e25e1b

Please sign in to comment.