hardware timers


Closed Thread
Results 1 to 4 of 4

Thread: hardware timers

  1. #1
    Join Date
    Mar 2007
    Posts
    2

    Smile hardware timers

    hi to all, i am new to this forum thing,i wish to ask a question about taking advantage of the on board timers, where i wish to start one of the hardware timers, just before i start a repeat until loop, so the timer will time out within say 1us or less, if the until state of my loop has not been reached, and for the program to reset the timer jump out of the loop to a specific label, using PicBasic pro, to access the timer, set and reset it, can somebody pls help thanks pls any code samples
    Last edited by Adam; - 5th March 2007 at 10:19. Reason: tell compiler i am using

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Adam View Post
    hi to all, i am new to this forum thing,i wish to ask a question about taking advantage of the on board timers, where i wish to start one of the hardware timers, just before i start a repeat until loop, so the timer will time out within say 1us or less, if the until state of my loop has not been reached, and for the program to reset the timer jump out of the loop to a specific label, using PicBasic pro, to access the timer, set and reset it, can somebody pls help thanks pls any code samples
    Show us some of your code and we'll point you in the right direction...

  3. #3
    Join Date
    Mar 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Smile re timer hlp

    thanks for replying so quick, i worked out how to use the timers today, thats not really what iam looking for but its a start, what i really wanted was to use a tmmer that i can initiate just before a loop , that runs in the background, so as not to consume any processor speed and when it times out it can jump to a label, i am thinking i may be able to do it with the WDT i will have to experment. i have no code as yet just this idear and urge to work it out, again thanks for any hlp you can give me, and your quick responce thankyy

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Adam View Post
    thanks for replying so quick, i worked out how to use the timers today, thats not really what iam looking for but its a start, what i really wanted was to use a tmmer that i can initiate just before a loop , that runs in the background, so as not to consume any processor speed and when it times out it can jump to a label, i am thinking i may be able to do it with the WDT i will have to experment. i have no code as yet just this idear and urge to work it out, again thanks for any hlp you can give me, and your quick responce thankyy
    Ok, since you don't have any code, show us some 'pseudo-code' that you might have, a flowchart, anything. We'll help you...

Similar Threads

  1. Timers
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th November 2008, 20:08
  2. Hardware timers
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th August 2008, 02:26
  3. using hardware ports
    By sebapostigo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th November 2007, 22:01
  4. Reading Timers
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th August 2007, 08:19
  5. Bootloader Hardware Modification
    By NavMicroSystems in forum Schematics
    Replies: 1
    Last Post: - 5th August 2004, 00:46

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