Quote Originally Posted by cheser View Post
Thank you CocaColaKid. Your code works fine. But it takes 3 seconds to refresh data. Is there a way to reduce this time to a second? (with pic16f628a)
I changed the "sleep 1" with "pause 1" in the code. It is realy fast now. ("sleep 1" is 1 second, "pause 1" is 1 ms.)