Hi, the original project was written in PicBasic. On the very beginning of the program there should be written the appropriate OUTPUT statements, to define the pins as output ones. Imre