Hi,
i am trying to make a DMX Controler with the Arduino.
i have all the serial port working normally with the UART in the arduino (pin 1 TX)
BUT...
In order to respect the DMX protocol i need to generate a break on the serial port (LOW for at least 88usecond)
That is where the problem start,
if (full_dmx_channel == 0)
{
// pinMode(1, OUTPUT);
digitalWrite(1,LOW);
delay(1000);
digitalWrite(1,HIGH);
}
Serial.print((char)full_dmx_channel, BYTE);
full_dmx_channel++;
if (full_dmx_channel>512)
full_dmx_channel = 0;
in this part, i actually climb the delay to 1 second to debug, with or without the pinMode it doesn't want to write a zero?
Anyone have a idea?
Thank in advance
Patgadget
Montreal