Variable changing mid-code in 16F883?


Results 1 to 4 of 4

Threaded View

  1. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

    Default Re: Variable changing mid-code in 16F883?

    for tempvar=0 to 105
    address=tempvar<<3
    that looked wrong at first if address started a 1600 but it doesn't.
    perhaps address gets corrupted every time readout is run,
    spaghetti code like that is hard to unravel
    Last edited by richard; - 4th September 2024 at 05:59.
    Warning I'm not a teacher

Similar Threads

  1. Change variable increment/decrement into mid-loop?
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th January 2021, 08:38
  2. 16F883 Code Verify Problem
    By munromh in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2009, 11:47
  3. changing code from 16F to 18F microprocessor
    By SCC_699 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 14th May 2008, 13:27
  4. Changing Swordfish code to PBP
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th April 2008, 01:28
  5. Changing position of program code
    By aerostar in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 15th December 2006, 07:34

Members who have read this thread : 12

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