ADC and SEEPROM on 16F877A


Results 1 to 9 of 9

Threaded View

  1. #5
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: ADC and SEEPROM on 16F877A

    I did see this in your code and maybe it's just me, but in your new code, I saw this part:
    ' Initialize the A/D converter
    TRISA = 111111
    ADCON1 = 000010
    try changing it to and see if it helps:

    ' Initialize the A/D converter
    TRISA = %11111111
    ADCON1 = %00000010

    also, I thought you could use byte for that also due to being able to count clear up to 255 with 8 bits.

    Last edited by Chirpy; - 8th January 2013 at 11:11.

Similar Threads

  1. New software filter for adc reading
    By aratti in forum Code Examples
    Replies: 29
    Last Post: - 6th August 2024, 22:35
  2. Help with multiple ADC inputs
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 4th January 2013, 01:27
  3. 12cwrite not working with 24LC08 SEEPROM ??
    By tekart in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 28th July 2010, 15:26
  4. 16f877a
    By alaaodeh in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 00:38
  5. I need help with 16F877A
    By valerij in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th December 2006, 18:05

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