Skip to content

clacktronics/pyb_dmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

#pyb_DMX This module tries to make it slightly simpler to send DMX512 messages to lights

Here is a very simple example of how it works, ideally write_frame() should be done on a timer interrupt as DMX lights expect a regular message

# create a dmx device on UART port 1
dmx1 = dmx.universe(1)

# Set the channel(s) to the value you want
DMX1.set_channels({1:i})

# Send the message
DMX1.write_frame()

thanks to this website for useful details [http://www.ubasics.com/DMX-512]

About

Micro python DMX module for the pyboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages