sorrry i forgot it to say,
i use microcode studio and Pbp 2,47
and as a pic16f628A and 20Mhz
DEFINE OSC 20
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
DEFINE HSER_CLROERR 1 ' Clear overflow automatically
'DEFINE HSER_SPBRG 129
DEFINE HSER_BAUD 250000
many peoples say that it is impossible to receive dmx512 in pbp.i dont know it is true or not? and i see that usart interputs is very big problem to receive 512dmx.
is it possible to receive dmx512 in 250000 baudrate?
can you make a code example to me how can i use Hserin command to receive dmx512. you can see my schema that what i want to make i have 3 chanel on my devices and i will make intensty control
0 -255 data = %0 -%100 intentsy
Bookmarks