hello All
Yes ... I am beginner but has since already found out a lot. is there anyone who will explain to me what "if b0> 200 then" means. what does 200? is the milliamp or voltage? (Normally I can see that it is used in connection with "readadc")
#picaxe 18m2
main:
touch C.0, b0
if b0 > 200 then
high B.4
else
low B.4
end if
touch C.1, b1
if b1 > 200 then
high B.5
else
low B.5
end if
touch C.2, b2
if b2 > 200 then
high B.6
else
low B.6
end if
touch B.3, b3
if b3 > 200 then
high B.7
else
low B.7
end if
'debug
goto main
Best Regards
Tonny ( From Denmark )
Yes ... I am beginner but has since already found out a lot. is there anyone who will explain to me what "if b0> 200 then" means. what does 200? is the milliamp or voltage? (Normally I can see that it is used in connection with "readadc")
#picaxe 18m2
main:
touch C.0, b0
if b0 > 200 then
high B.4
else
low B.4
end if
touch C.1, b1
if b1 > 200 then
high B.5
else
low B.5
end if
touch C.2, b2
if b2 > 200 then
high B.6
else
low B.6
end if
touch B.3, b3
if b3 > 200 then
high B.7
else
low B.7
end if
'debug
goto main
Best Regards
Tonny ( From Denmark )