Go to the source code of this file.
Variables | |
$rslt = i2c_read256b() | |
$zero = strpos($rslt,chr(0)) | |
$xml = simplexml_load_string($rslt) | |
wrong responce (non existent/ not programmed boards?) |
$rslt = i2c_read256b() |
! PHP script ! FILE NAME : detect_ioboard.php ! DESCRIPTION: detect extension board/revision (to be called from the command line) ! AUTHOR : Elphel, Inc. ! Copyright (C) 2008 Elphel, Inc ! -----------------------------------------------------------------------------** ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** !
Definition at line 33 of file detect_ioboard.php.
$xml = simplexml_load_string($rslt) |
wrong responce (non existent/ not programmed boards?)
Definition at line 39 of file detect_ioboard.php.
$zero = strpos($rslt,chr(0)) |
Definition at line 34 of file detect_ioboard.php.