For starters, IF tapcount > 900 is never going to be true and ticks = 256 will result in ticks being set to 0 since both tapcount and ticks are declared as BYTEs.
/Henrik.
For starters, IF tapcount > 900 is never going to be true and ticks = 256 will result in ticks being set to 0 since both tapcount and ticks are declared as BYTEs.
/Henrik.
DUH!!!!!
Thanks, Henrik! I knew it had to be something obvious that I was overlooking. Changed those to word and it works flawlessly now!
Bookmarks