Variables change depending on a SEROUT2 command placement in code


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Variables change depending on a SEROUT2 command placement in code

    Your Key_Cnt variable increments inside the IF condition and therefore, placing the SEROUT statement before the IF works correctly.

    You need to investigate that IF statement with this in mind.

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: Variables change depending on a SEROUT2 command placement in code

    Thanks a lot Jerson
    Roger

Similar Threads

  1. Change variable allocation to save code space
    By aberco in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 5th September 2011, 01:28
  2. SERIN2, SEROUT2 with long variables
    By pedja089 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th November 2010, 23:22
  3. Serial code placement
    By nirvdrum in forum Serial
    Replies: 3
    Last Post: - 9th January 2007, 18:58
  4. Embedding Variables into Code Memory
    By JoeSolar in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th October 2006, 17:58
  5. oscillator code and placement within program
    By bartman in forum mel PIC BASIC
    Replies: 14
    Last Post: - 14th December 2004, 02:39

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