BayEOS-PHP
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
bayeos-gateway-client-php
BayEOSWriter.php
Go to the documentation of this file.
1
<?php
2
/*
3
* Writer only
4
*/
5
require_once
'BayEOSGatewayClient.php'
;
6
7
$w
=
new
BayEOSWriter
(
'/tmp/bayeos-device1'
);
8
$count
=0;
9
while
(TRUE){
10
echo
"adding frame\n"
;
11
$w
->saveDataFrame(
12
array(
$count
++,
13
300,
14
1.0),0x04,4);
15
sleep(5);
16
}
17
18
?>
$count
$count
Definition:
BayEOSWriter.php:8
$w
$w
Definition:
BayEOSWriter.php:7
BayEOSWriter
Definition:
BayEOSGatewayClient.php:368
Generated on Wed Jul 22 2015 13:09:58 for BayEOS-PHP by
1.8.6