How can I measure an anemometer through C7 and C8 door ( 17:18 ) when I try to compile aprece this error in the compilation .
'Amostra do anemometro AN_1 - Conectado em Pulse Channel 1 (P1)
PulseCount(AN_1,1,AN_1_PC,0,1,AN_1_Mult,AN_1_Offset)
If AN_1<=AN_1_Offset Then AN_1=0
'Amostra do anemometro AN_2 - Conectado em Pulse Channel 2 (P2)
PulseCount(AN_2,1,AN_2_PC,0,1,AN_2_Mult,AN_2_Offset)
If AN_2<=AN_2_Offset Then AN_2=0
'Amostra do anemometro AN_3 - Conectado em Control Port 1 (C1)
PulseCount(AN_3,1,17,0,1,AN_3_Mult,AN_3_Offset)
If AN_3<=AN_3_Offset Then AN_3=0
'Amostra do anemometro AN_4 - Conectado em Control Port 2 (C2)
PulseCount(AN_4,1,18,0,1,AN_4_Mult,AN_4_Offset)
If AN_4<=AN_4_Offset Then AN_4=0