planktoscope/pipeline/pump.php
2019-12-10 21:51:01 -08:00

9 lines
202 B
PHP

<?php
$volume = $_REQUEST["volume"];
$flowrate = $_REQUEST["flowrate"];
$direction = $_REQUEST["direction"];
$output = shell_exec('/usr/bin/python3 pump.py '.$volume.' '.$flowrate.' '.$direction);
?>