Sorry, i've been so busy with F877's that i forgot i was actually trying this dmx code on a 16F84A (20mhz).

Marty.