help for pic16f873a

Discussion in 'Embedded Systems and Microcontrollers' started by pasha, Mar 16, 2009.

  1. pasha

    Thread Starter Member

    Jan 18, 2009
    10
    0
    hi
    i need to find the maximum number in 20 samples that read from an adc.
    how to write the program?
    please help me!!!!!
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    This should have been posted in the "Embedded Systems and Microcontrollers" forum.

    "i need to find the maximum number in 20 samples that read from an adc"
    This statement does not make sense.
    If you take 20 samples, then you get 20 samples.
    The ADC is 10 bit, 1024 steps.

    "how to write the program?"
    There are many examples on the Microchip's website in applications notes.
     
Loading...