ADC in Atmega 328P Free Running Mode with an Interrupt

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

Комментарии • 4

  • @mgzawlay2149
    @mgzawlay2149 5 месяцев назад

    Thanks.
    Please , Sir .How can read from A2?

    • @subodha1980
      @subodha1980  4 месяца назад

      Connect the input to the corresponding pin. Then, set the channel using ADMUX. If you are following this code, CHANNEL should be set to 0B00000010 or 0x02

  • @adolf97
    @adolf97 3 месяца назад

    Hi sir
    I have implemented free running mode but the adc output do not change while potentiometer is turned.
    Output will be the first value and then the output doesn't change.

    • @adolf97
      @adolf97 3 месяца назад

      I am using wokwi simulation