Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Charles Linquis; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    9,410

    Re: ADCIN giving inconsistent results

    Add one line and most of your problems will go away.




    fans_off:
    low low_fan
    low high_fan
    return
  2. Replies
    13
    Views
    9,410

    Re: ADCIN giving inconsistent results

    My guess is that if you clear V_total, you won't need anything else.

    Consider:

    If the A/D returns a value of 410

    1st time through the loop

    V_Total = 200
  3. Replies
    13
    Views
    9,410

    Re: ADCIN giving inconsistent results

    It doesn't look like you are clearing V_total every time before you go into your A/D routine.
Results 1 to 3 of 3