文件名称:stupidArtnet:(非常)简单的Python artnet库
文件大小:9KB
文件格式:ZIP
更新时间:2024-05-25 14:05:58
Python
愚蠢的艺术网 (非常)Python中的简单Artnet实现 基本 发送简单的Artnet数据包非常容易 # A StupidArtnet instance holds a target IP / universe and a buffer a = StupidArtnet(target_ip, universe, packet_size) # YOU CAN CREATE YOUR OWN BYTE ARRAY OF PACKET_SIZE packet = bytearray(packet_size) for i in range(packet_size): packet[i] = (i %6) # ... AND SET IT TO STUPID ARTNET a.set(packet) # YOU CAN CHANGE SINGLE VALUES a.set_single_v
【文件预览】:
stupidArtnet-master
----.gitattributes(66B)
----lib()
--------StupidArtnet.py(9KB)
--------__init__.py(14B)
----LICENSE(1KB)
----README.md(5KB)
----.gitignore(1KB)
----example.py(2KB)