Scan smart expansion boards connected
int spc_scan(int $start = 1, int $end = 14, bool $verbose = false)
the number of smart expansion boards detected
<?php
include "/lib/sd_spc.php";
$count = 0;
spc_reset();
spc_sync_baud();
$count = spc_scan(1, 14, true);
echo "$count smart expansion baord(s) has(have) been detected!\r\n";
?>