Error using DT's Inst Interrupts and PIC BASIC PRO Long


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Error using DT's Inst Interrupts and PIC BASIC PRO Long

    DT's Interrupts have nothing to do with this problem.

    It seems that whenever a div32 is used with longs, I get the error.

    To simplify things, I am using Bruce's temperature conversion routine, reading a DS18B20, and it uses a DIV32 statement.
    This all works fine, except when I want to use LONGS for another variable elsewhere in the program, then I get the error.
    If I comment out the DIV32, there is not a compile error, but of course the temperature is screwed up.
    I can display the LONG variable just fine in either case.

    Yes, I do have the LONG box selected.

    I guess I just will not attempt to use a LONG variable with a program that uses DIV32.

    Ken

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Error using DT's Inst Interrupts and PIC BASIC PRO Long

    Found the problem - - RTFM - -

    Bottom of page 40 of the PBP manual

    Ken

Similar Threads

  1. DT's Instant Interrupts
    By andywpg in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st June 2014, 18:01
  2. Question about DT's Interrupts
    By tazntex in forum General
    Replies: 6
    Last Post: - 15th June 2010, 01:36
  3. DT inst. interrupt & Timer0 with pic 16F88
    By aratti in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th December 2009, 21:23
  4. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  5. Replies: 5
    Last Post: - 17th January 2006, 19:26

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