# Cavendish skin uses APIs deprecated in 1.42; keep those warnings out of the error log $wgDeprecationReleaseLimit = "1.41"; $wgEnableSidebarCache = true; $wgParserCacheType = CACHE_DB; OLA Python API: Difference between revisions - wiki.openlighting.org
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: Difference between revisions

From wiki.openlighting.org

Jump to: navigation, search
No edit summary
 
No edit summary
Line 1: Line 1:
document this [simonn]
document this [simonn]
A simple example to send DMX:
<pre>
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)
</pre>

Revision as of 15:11, 12 October 2007

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)