Hi,
 
I want to wrote a receiver for DMX512 packets (it is an strange serial comunication).
Does anybody has some experience with this ?
I found some directions at http://www.8052.com/users/dmx512/recieve.phtml and those are wrotten below.
Can somebody give me a sugestion how would look this in SDCC C ?
 
"Receiving DMX 512 is very easy. The basic Idea is to set the UART in 9 bit mode, and look at the ninth bit. If it is a "0" we are still in the "Make before break" if it is "1" we have a valid data byte. "
 
 
Thanks.
Daniel