spc_scan()


搜索连接的智能扩展板

Description

int spc_scan(int $start = 1, int $end = 14, bool $verbose = false)

Parameters

Return Value

成功搜索到的智能扩展板数

Example

<?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";
?>

See also