strange word varable array results


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: strange word varable array results

    If you are using PIC18F, updating to 3.08 may solve you problem.
    I had similar problem, and it was bug in PBP. Bug was fixed in PBP3.08.
    http://www.pbp3.com/download.html
    So give it a try...

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: strange word varable array results

    Code:
       GateID_word.lowbyte[(T*2+1)+1] = SDC_buffer[250]   ' indexed highbyte +1                  ' copy temp varables to next index  
                 GateID_word.lowbyte[(T*2)  +1] = SDC_buffer[251]   ' indexed lowbyte  +1


    should be

    Code:
       GateID_word.lowbyte[(T*2+1)+2] = SDC_buffer[250]   ' indexed highbyte +1                  ' copy temp varables to next index  
                 GateID_word.lowbyte[(T*2)  +2] = SDC_buffer[251]   ' indexed lowbyte  +1

Similar Threads

  1. Need help - 16f876 - strange results
    By neverenouph in forum mel PIC BASIC
    Replies: 2
    Last Post: - 26th October 2013, 13:24
  2. RC - connection using RCTime produces strange results
    By selbstdual in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th February 2007, 16:16
  3. Strange Results in Math
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 31st August 2005, 07:09
  4. Help! - Very strange results with ShiftIn/ShiftOut
    By khufumen in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd February 2005, 22:21
  5. First test program, but strange results
    By bartman in forum General
    Replies: 12
    Last Post: - 19th November 2004, 03:14

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