ADC Pic 16f887

Collapse
X
 
  • Giờ
  • Show
Clear All
new posts
  • chiefpro
    Nhập môn đệ tử
    • Oct 2013
    • 1

    #1

    ADC Pic 16f887

    Cho em hỏi là em muốn set chân RA0, RA1, RA2, RA3,RA5 thành analog thì làm sao ạ, nếu để all analog thì nó set hết 14 chân.
  • hoangty090
    Nhập môn đệ tử
    • Dec 2013
    • 1

    #2
    setup_adc_ports( ALL_ANALOG );
    set_adc_channel(0);

    Comment

    Working...