Count Per Second


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    please explain what do you mean for a "Pic timer",

    P.S.: i'm going to bed, here it's 1:00 A.M....

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by oslinux View Post
    please explain what do you mean for a "Pic timer",

    P.S.: i'm going to bed, here it's 1:00 A.M....
    Check the datasheet, tmr0, tmr1, tmr2, whichever...

  3. #3
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    AAAH but it doesn't have the limit of 1 byte??

    so you mean, when it's counting, i'm storing the data in the eeprom, right?

    and with another timer i can count the seconds i have to sample, and stop the sampling at the right moment?

    aniway it sound a bit complex to me... what happens if i geto to 255 counts while i'm writing the eeprom?

    i'm going to see if there's a WORD timer,

    Luca

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Timer1, T1CKI pin on PORTC if my memory serves me well.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    yes, so timer1 with interrupt enabled, on interrupt i write to the eeprom, AND timer0 (Linked to another pic which produce a 1Hz frequency) with interrupt enabled, on timer0 interrupt i stop the sampling and place the last word in the eeprom, should this work?

    Thx

    Luca

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  2. Can't get COUNT to count
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd March 2009, 23:14
  3. Count pulses between VARIABLE TIME
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 12:44
  4. Multiplex Display with count comand
    By mdaweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th October 2005, 04:09
  5. Count command
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2005, 19:04

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