Disable MCU Extra Features


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cjurczak's Avatar
    cjurczak Guest

    Question Disable MCU Extra Features

    I am somewhat familar working with PICs, but I have recently purchased a 16F747 to begin developement on a project...I chose it for its large number of I/O pins...but...this PIC also comes with ALOT of extra features, such as A/D converter, Dual Comparators, Parallel Slave Port, USART, etc...This leads to many of the pins to have multiple uses with these different built in features...Right now I am tring to acomplish some simple things, but I believe that these features are getting in the way of the PIC doing what I want it to do...I have been doing some looking throug the data sheet, as well as the family reference manual...I have found some code snipets, but they are using Assembly I presume...Is there any good way to disable all the extra stuff, so that the pins are all simply digital I/O???

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517

    Smile

    A quick look suggests

    Code:
    ADCON1=$0F ' all digital
    CMCON=$07  ' comparators off
    is all you need.
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  3. #3
    cjurczak's Avatar
    cjurczak Guest

    Default

    Thanks for your response, I havn't had time lately to check it out...but when I confirm I will be very Thankful...Thanks again...

Similar Threads

  1. I2C 8+8 expander with extra features
    By aratti in forum Code Examples
    Replies: 5
    Last Post: - 29th November 2008, 22:04
  2. Enable and Disable in Interrupts
    By stevecrunch in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th October 2007, 01:10
  3. 6610,6210 & Mcu
    By seadolphine2000 in forum GSM
    Replies: 2
    Last Post: - 21st March 2007, 00:13
  4. Replies: 5
    Last Post: - 28th June 2006, 21:32
  5. Interrupts and Disable 16f877
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th April 2005, 21:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts