Delay without using pause


Closed Thread
Results 1 to 40 of 43

Hybrid View

  1. #1
    Join Date
    Oct 2014
    Location
    Lagos Nigeria
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Delay without using pause

    THIS IS AN EYE OPENER.

    Thanks so much for explaining. Now i understand why it didnt work. I have learn a great deal from your post.

    Thanks for the tips, i think option B is what I will go for. Its worth the effort.
    But how can i determine from the .lst, the system variables in use.

    I have used DT Interrupts and they work well (apart from inadvertenly enabling unwanted interrupts sometimes). But to avoid saving every variable all the time and save time is my goal. I need to have more speed.

    Lastly, my question about macros. Can i do something like this;

    Asm
    MACRO myPAUSE msec,subID
    movlw msec
    movwf delay1
    movlw subID
    movwf KeepTrack
    Endasm

    ; then concote any kind of PBP code here

    @ Endm

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


    Did you find this post helpful? Yes | No

    Default Re: Delay without using pause

    Lastly, my question about macros. Can i do something like this;

    Asm
    MACRO myPAUSE msec,subID
    movlw msec
    movwf delay1
    movlw subID
    movwf KeepTrack
    Endasm

    ; then concote any kind of PBP code here

    @ Endm
    no

    macro is a assembler feature and will not accept pbp code.
    pbp code needs to be compiled and then assembled

    post some code and explain what you are trying to achieve

Similar Threads

  1. Replies: 6
    Last Post: - 28th October 2014, 07:08
  2. Do I need a pause?
    By tazntex in forum Serial
    Replies: 21
    Last Post: - 29th August 2008, 05:32
  3. 1 us delay
    By Pedro in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th February 2006, 18:28
  4. Pause
    By blue in forum General
    Replies: 7
    Last Post: - 29th December 2005, 15:24
  5. pause 0.5
    By detail in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th June 2005, 12:32

Members who have read this thread : 0

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