hi fd
i tryed your code and i add like this .
newlevel1 = RCREG 'This is your target channel data
================================================== =
PWM portb.3 ,newlevel1 100 ' send pluse to led at
' portb.3 i use 16f628 xtal = 20 mhz
serout portb.2, t9600 [#newlevel1 10,13 ] ' send data to monitor
'on pc rs 232
'portA.2 = newlevel1 ' i don't use
================================================== =
RCSTA.7 = 0 'turn off the USART
-------------
and led is work diming from low to full bright when i add my volum from ch 1
but i have another problem it read data not same as my dmx transmit
like ch1 send data 200 but my code read out 100 and not sure it moveing
even i don't move volume..
ok if someone know how to fix please let me know..
GOD bless you ok have a goo day.




Bookmarks