Hi, I was trying to use Senscomp modules and transducer
http://www.senscomp.com/specs/6500%20module%20spec.pdf
http://www.senscomp.com/specs/600%20instrument%20spec.pdf
with simple code
symbol trigger = 4 'output
symbol echo = 3 'input
symbol range = w1
symbol trigger_low = %00000000
main:
let pins = trigger_low
pause 10
pulsout trigger,2
pulsin echo,1,range
pause 10
let w1 = w1 *10/62
debug w1
pause 50
goto main
but i couldn't get it to work. It is not picking up any ojbects. i checked all lines and they were fine and my code looks right.
Is there anything that i am missing?
i'm just using 08M.
this should work just as a normal sonar....
Edited by - rkim01 on 31/07/2006 14:28:48
Edited by - rkim01 on 31/07/2006 14:30:07
http://www.senscomp.com/specs/6500%20module%20spec.pdf
http://www.senscomp.com/specs/600%20instrument%20spec.pdf
with simple code
symbol trigger = 4 'output
symbol echo = 3 'input
symbol range = w1
symbol trigger_low = %00000000
main:
let pins = trigger_low
pause 10
pulsout trigger,2
pulsin echo,1,range
pause 10
let w1 = w1 *10/62
debug w1
pause 50
goto main
but i couldn't get it to work. It is not picking up any ojbects. i checked all lines and they were fine and my code looks right.
Is there anything that i am missing?
i'm just using 08M.
this should work just as a normal sonar....
Edited by - rkim01 on 31/07/2006 14:28:48
Edited by - rkim01 on 31/07/2006 14:30:07