Simple problem?


Results 1 to 6 of 6

Thread: Simple problem?

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    make sure of your config fuses setting, LVP mode must be disabled, and you must select the internal OSCillator as well.

    once done, you must set the internal OSC to 4MHZ, by default it's 32KHz... pretty slow...
    Code:
    Poke $8F, $60
    i don't know if PBC support the configuration fuse setting, but you could add the following at the top of your code to see if it return you any error..
    Code:
    @ DEVICE PIC16F818, INTRC_OSC_NOCLKOUT
    @ DEVICE PIC16F818, WDT_OFF
    @ DEVICE PIC16F818, MCLR_ON
    @ DEVICE PIC16F818, BOD_ON
    @ DEVICE PIC16F818, LVP_OFF
    @ DEVICE PIC16F818, CPD_OFF
    @ DEVICE PIC16F818, WRT_OFF
    @ DEVICE PIC16F818, DEBUG_OFF
    @ DEVICE PIC16F818, CCPMX_OFF
    @ DEVICE PIC16F818, PROTECT_OFF
    Last edited by mister_e; - 2nd March 2007 at 15:41.
    Steve

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

Similar Threads

  1. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  2. Simple program - Strange problem!
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 19th December 2009, 22:52
  3. 16F676 Really simple, stupid problem - Help!
    By Jayhovah in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st May 2008, 03:28
  4. PIC18F4525 & LCD simple code problem
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd November 2007, 16:29
  5. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 00:34

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