spc_sync_baud()
Synchronize buadrate with smart expansion boards
Description
void spc_sync_baud(int $baud = 115200, int $t1 = 1, int $t2 = 100)
Parameters
- $baud : baudrate (bps)
- $t1 : output duration of synchronization signal (millisecond)
- $t2 : waiting time for synchronization (millisecond)
Return Value
none
Example
<?php
include "/lib/sd_spc.php";
spc_reset();
spc_sync_baud();
?>
See also