Quote Originally Posted by HenrikOlsson View Post
OK!!!!!!
FBV is declared as a BYTE so IF FBV < 256 THEN will always evalute true. FBV can never be larger then 255 so FBS will always be incremented to 8 and then stay there.

/Henrik.
hmm.... you are right.
but from this blog (http://forum.allaboutcircuits.com/blog.php?b=512) i found that i convert to picbasic. but not working!!!!
can you solve this problem????