Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: CipiCips; Keyword(s):

Search: Search took 0.00 seconds.

  1. Thread: AD conversion

    by CipiCips
    Replies
    8
    Views
    5,962

    Re: AD conversion

    thx Steve

    I will probably have few questions, now I will contion on my work

    thx
  2. Thread: AD conversion

    by CipiCips
    Replies
    8
    Views
    5,962

    Re: AD conversion

    So this ADRESH is the adress where AD save it's value ?

    what if I have two, three or four AD, is it all stored in same adress ?
  3. Thread: AD conversion

    by CipiCips
    Replies
    8
    Views
    5,962

    Re: AD conversion

    I am using PIC 16f877A

    this is the code


    DEFINE ADC_BITS 8 ' Set number of bits in result
    DEFINE ADC_CLOCK 3 ' Set clock source (rc = 3)
    DEFINE ADC_SAMPLEUS 50
    ADCON1 = 0 ' PORTA...
  4. Thread: AD conversion

    by CipiCips
    Replies
    8
    Views
    5,962

    Re: AD conversion

    then why this doesnt work:

    I have a potentiometer on pin 0 (AD), and when I turn that pot to one end (left or right) my values of variable should be 0 or 255. And when I wrote IF function nothing...
  5. Thread: AD conversion

    by CipiCips
    Replies
    8
    Views
    5,962

    AD conversion

    Hello

    Does anyone know what is the maximum and minimum value of variable at 8 bit AD conversion (PIC 16f877A)

    For example:

    pw var byte

    adcin 0, pw "read AD value on pin 0 and store it...
Results 1 to 5 of 5