Browse Source

3.141592

master
BARRAUX Arthur 2 years ago
parent
commit
411bbf74c5
  1. 1
      Test extension RPI.py
  2. 0
      get_temp.sh
  3. 4
      index.php

1
Test extension RPI.py

@ -25,3 +25,4 @@ for i in range(5):
print("Température = ",temperature, " °C") print("Température = ",temperature, " °C")
time.sleep(0.5) time.sleep(0.5)

0
get_temp.sh

4
index.php

@ -0,0 +1,4 @@
<?php
$output = shell_exec('echo raspberry | su pi | whoami');
echo "<pre>$output</pre>";
?>
Loading…
Cancel
Save