3AM hair pulling again


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Default 3AM hair pulling again

    Hello again all.
    Got another little crazy happening:\
    I am reading 16 events that are happening on porta using a FOR NEXT loop.
    The events ARE coming in in groups of 16 correctly.
    HOWEVER..after the first 16 events have been read and placed in an array and debugged to a terminal, I am going back to pick up the next group of 16 events. The input events are not starting before I get there to look at the port, but for some reason the count for the second, and every following group stops at 12. I have debugged the counter and it always stops at 12 after the first lot of 16 is processed.
    Does this seem a little bit odd to anyone other than me??
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  2. #2
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    Not clearing a pointer or an array start point ?

    Without more info or a code snip I guess we'll all be kind of stabbing in the dark...

  3. #3
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Dammit!!!
    Found it...A typo in a timing load instruction...

    I really gotta get some sleep.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

Similar Threads

  1. check LED before tearing out hair.
    By picster in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd May 2006, 19:56
  2. Pulling port high
    By the_antique in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th November 2005, 18:18
  3. Trouble pulling pin Low
    By pdegior in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th August 2005, 20:49

Members who have read this thread : 1

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