Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Kommt

Beispiel

1x Arduino
1x DMX Shield
1x XLR Kabel
1x DMX Lichtquelle 

Beispiel DMX
#include <DmxSimple.h>
void setup() 
{
  DmxSimple.usePin(11);
}
void loop() 
{
  //The BarLight 1
  DmxSimple.write(1, 0);
  DmxSimple.write(2, 255);
  DmxSimple.write(3, 255);
  
  //The BarLight 2
  DmxSimple.write(4, 0);
  DmxSimple.write(5, 255);
  DmxSimple.write(6, 255);
  
  //The SpotLight 1
  DmxSimple.write(7, 255); //Red
  DmxSimple.write(8, 0); //Green
  DmxSimple.write(9, 0); //Blue
  DmxSimple.write(10, 0); //Intensity
  DmxSimple.write(11, 0); //Color Temperature
  DmxSimple.write(12, 0); //Strobe Frequency
  DmxSimple.write(13, 0); //Strobe Duration
  DmxSimple.write(14, 0); //Strobe Effect
  
  //The SpotLight 2
  DmxSimple.write(1, 0); //Red
  DmxSimple.write(16, 255); //Green
  DmxSimple.write(17, 255); //Blue
  DmxSimple.write(18, 0); //Intensity
  DmxSimple.write(19, 0); //Color Temperature
  DmxSimple.write(20, 0); //Strobe Frequency
  DmxSimple.write(21, 0); //Strobe Duration
  DmxSimple.write(22, 0); //Strobe Effect
  
  //...
  
  delay(10);
}

Weitere Informationen

DMX - Wikipedia 
DMXSimple - Library auf googlecode 
DMX - auf arduino.cc