Skip to content

DonMul/DMXPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMX PHP

License 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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages