Browse Source

3.141592

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

3
Test extension RPI.py

@ -24,4 +24,5 @@ for i in range(5):
temperature = capteurTemp.readTempC()
print("Température = ",temperature, " °C")
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