Joe, Dave....thanks!!

Problem wasm't with code.....it was with dead contrast pot.....can't velive...I buy it new...

Now is working good!

So....I probably gonna put more questions here about some other things....hehe...also I buy 16F877 to het analog inputs ass well!

Marin