Just want to tell you that I get it to work now - there was nothing wrong in my code but the PIC I used was damaged - when trying new pic all works fine - thanks again

Regrads Erik