Hello

Thanks, i will try it. That is the first and unique project where i use a 8 pin PIC
The 12F509 have Flash Program Memory of 1.5 kBytes
The 12F508 have Flash Program Memory of 0.5 kBytes
Therfore i think that is correct - DEFINE OSCCAL_2K 1 - I hope i'm not wrong

The datasheet says - On Reset ALL pins are input.
I will test with GPIO = %00000000 and after that to set the
TRISIO = %11001111

I notice if i have success with this changes

Thanks All

Best Regards
Pedro

Para o Rui, quando estiveres o MSN, falamos