jmul/dmxphp
Composer 安装命令:
composer require jmul/dmxphp
包简介
DMX interface for PHP
README 文档
README
DMX PHP is writter because i wanted to experiment with DMX and see the capabilities within the language of PHP.
This implementation has not yet been tested since i haven't come round to it. If anyone can test it, please let me know your findings.
Example Usage
After you installed this component with composer, you can, for example, update a channel to a specific value:
$client = new \DMXPHP\Client\USB('COM3');
$universe = DMXPHP\Universe::createFromArray([
[
'startChannel' => 0,
'channels' => 8,
'name' => ''
]
], $client);
$universe->getEntityOnChannel(1)->updateChannel(1, 100);
Notes
For the USB interaction with PHP, i made use of Xowap's PHP-Serial implementation (https://github.com/Xowap/PHP-Serial)
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-10-18