Trouble starting PIC or internal clock on 12f683?


Results 1 to 22 of 22

Threaded View

  1. #4
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Try changing
    Code:
    @ __config _INTRC_OSC_NOCLKOUT  & _WDT_OFF & _MCLRE_ON & _CP_OFF
    to
    Code:
    @ __config _INTRC_OSC_NOCLKOUT  & _WDT_OFF & _MCLRE_OFF & _CP_OFF
    The only way I can get it to start is with this:

    @ __config _INTOSCIO & _WDT_ON & _MCLRE_OFF & _CP_OFF

    Now that it starts, there is still an issue with it. I get output pulses on servos 2-4, but not on servo1. The pulses that I do get do not vary with the input pulses, they are just 2ms on 3 & 4, and 1.6 ms on 2.

    I'll check to see if there is anything wrong with my setup and wiring again.
    Last edited by PickyBiker; - 24th March 2010 at 17:51.

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