Please help me figure out the flaw in my logic


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Please help me figure out the flaw in my logic

    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.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Please help me figure out the flaw in my logic

    DUH!!!!!

    Thanks, Henrik! I knew it had to be something obvious that I was overlooking. Changed those to word and it works flawlessly now!

Similar Threads

  1. How to Figure Out Compile Errors?
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th February 2013, 19:54
  2. Replies: 2
    Last Post: - 8th April 2012, 16:11
  3. Replies: 4
    Last Post: - 9th July 2011, 10:03
  4. I can not figure out an LCD issue
    By lilimike in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 11th March 2010, 14:54
  5. More trouble - Just can't figure it out.
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th August 2007, 12:45

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts