Timer does not work 12F675


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    I just thought of something else that might be the cause of your problems. You have to edit the 12F675.INC file located in the PBC folder and comment out this line by putting a ; in front of it.

    __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF

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


    Did you find this post helpful? Yes | No

    Default

    As far as i'm aware of by reading
    http://www.melabs.com/products/pbcis.htm
    There's no ADCIN and direct acces to internal register, Variables are pre-defined B0... W1... and ,... and ... and

    So you Must use PEEK POKE to write/read to/from internal register Adress and, and, and...

    There's a huge difference between PBC and PBP. I don't have PBC here.. sorry

    So only few code example @ melabs or other PBC user here could gives you some Hint. Look bellow
    http://www.melabs.com/resources/samples.htm#pbc
    Steve

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

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 18:39
  2. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th January 2009, 00:49
  3. Simple "backround" timer
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th November 2005, 06:11
  4. Timer Of 40 Days 12f675 Or 16f628
    By Leonardo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 21st August 2005, 01:11
  5. Pin RA4 doesn't work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 13:03

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