Some pins dont work


Results 1 to 10 of 10

Threaded View

  1. #7
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Sorry. I did post a link to the datasheet. The exact chip is a PIC16F627. The datasheet doesnt mention ADCON anywhere so i assume it doesnt have it. Ive tried setting CMCON. I took a look again at the datasheet and tried a few values. Ive now found one that seems to work properly. From what i can see, all of porta is working as expected now.

    While testing ALL pins ive noticed another problem. RB0 wont turn off. Im sure this is because its a special pin but i cant see what to do with it.

    In that first link RA4 isnt a problem because its an input anyway.

    Ive attached the full code so far as requested. Everything seems to work except RB0
    Attached Files Attached Files

Similar Threads

  1. PortA Doesn't Work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 11
    Last Post: - 8th September 2015, 18:41
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. PIC PORT 'special' pins
    By barkerben in forum General
    Replies: 1
    Last Post: - 18th January 2005, 21:40
  4. Pin RA4 doesn't work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 12:03
  5. stopping USART setup
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th December 2003, 19:29

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