Calculating Time for clock's preset


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Well, you never specified that you were using a 16Fxxx, so I guess you don't get to use a LONG variable.
    And it's not so much if the 16F supports 32 bits, 'cause none of the 10F/12F/16F/18F support 32 bit variables. It's the compiler that either supports them or doesn't.
    Quote Originally Posted by menta View Post
    If its not related to the PIC then why can't I ?
    According to this http://www.microchip.com/stellent/id...cName=en532453
    what does the 32 means if not supporting 32-bit ?
    With any luck, this should clear it up a bit...
    PBP is a COMPILER....MPASM is an ASSEMBLER.
    PBP supports...PICxxxxx (see their website...way too many to list)
    MPASM supports...well, basically, anything in the Microchip inventory.
    The PIC32 is supported by MPASM, the assembler.
    The PIC32 isn't supported by PicBasicPro, the compiler.
    A program is written (source code), is compiled (by PBP) into assembly code (machine code), and assembled (by MPASM) into hex code (binary to be programmed) by the programmer (PICKIT2 for example).

  2. #2


    Did you find this post helpful? Yes | No

    Default

    once started or stopped, start looking for the next event starting with hour = then min = then second > as DT suggested earlier if then.....
    same logic a human would use looking for an event

    amgen

  3. #3
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    So where is it possible to use Long variables?

  4. #4


    Did you find this post helpful? Yes | No

    Default

    not needed, set up 1307 for 24 hr mode

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    So where is it possible to use Long variables?
    PIC18Fxxxx and PBP...just like I said....just not so many words...

Similar Threads

  1. I don't understand this code!
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 13th February 2008, 02:55
  2. Measuring time
    By AugustoPedrone in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2007, 23:46
  3. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  4. Calculating elapsed time, how?
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 1st June 2006, 09:00
  5. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24

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