Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

OLA Python API

From wiki.openlighting.org

Revision as of 07:11, 12 October 2007 by 69.181.26.114 (talk)
Jump to: navigation, search

document this [simonn]


A simple example to send DMX:

from lla import *

con = LlaClient()
con.start()
universe = 0

dmx = dmxBuffer(DMX_LEN)
for i in range(0, DMX_LEN):
  dmx[i] = i

con.send_dmx(universe, dmx, DMX_LEN)