Search results

  1. V

    reading adc with 20X2

    I have previously programmed a 14M2, and just migrated to a 20X2. I am trying read to adc ports C.3 and C.7 having named them; symbol ldr= C.3 'Rename C.3 'ldr' symbol batmon= C.7 'Rename C.7 'batmon' and then defined variables b3 and b2, symbol batlevel= b3 'define variable b3 as...
  2. V

    basic 'and'

    Can anyone explain why when using 'if and then' the program only checks the first statement. ie. if varA > 180 and pinW = 1 and pinX = 1 and pinY = 0 then high pinZ endif. The above only checks varA and ignores the other and statements. If this is correct how do you achieve the above. Thanks...
  3. V

    Basic commands

    I hav previously written a program on the old editor which worked OK. I have just downloaded the editor 6 and started programming a 14m2 for a pump controller related to my pond. The beginning of the program is; symbol lobattery=C.4 'Rename input4 'lobattery' symbol hiwater=C.3 'Rename...
Top