Adcon register with P18F4550


Results 1 to 14 of 14

Threaded View

  1. #4
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Adcon register with P18F4550

    Ok Thanks , I wiil try it, but the datasheet sheet says: bit 7-6 Unimplemented: Read as ‘0’ .. shouldn't there be no difference as what is there?
    ok work now, but gives me an 8 bit result instead of 10 bit

    I also have these defines in the prog:
    Define ADC_BITS 10 ' Set number of bits in result
    Define ADC_CLOCK 3 ' Set clock source (3=rc)
    Define ADC_SAMPLEUS 50 ' Set sampling time in uSec

    K
    Last edited by lerameur; - 24th February 2011 at 15:45.

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