MikroElektronika PIC Microcontrollers PIC16 Scheda Tecnica Pagina 57

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 56
Programming PIC Microcontrollers in BASIC - mikroElektronika
Description Routine initializes ADC module to work with RC clock. Clock determines the time period necessary for
performing AD conversion (min 12TAD). RC sources typically have Tad 4uS. Parameter <Channel>
determines which channel will be sampled. Refer to the device data sheet for information on device channels.
Example
res = ADC_Read(2) ' reads channel 2 and stores value in variable res
ADC HW connection
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (15 sur 112)05/11/2004 02:20:52
Vedere la pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 193 194

Commenti su questo manuale

Nessun commento