ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

PRO
USA
#65  

Nomad did you see the code I pasted?

EzAng

PRO
Belgium
#66  

ezang

do you mean this?

$soundright = auto needs to be # $soundright = 0

PRO
USA
#67   — Edited

Yes

in code we initialize it with 0 - zero

$soundright = 0

Just like $pwmvalue = 0

was initialize with 0 - zero

or $soundright = auto

will work

EzAng

PRO
Belgium
#68  

ezang

thats good info thanks.

PRO
USA
#69   — Edited

You know , you can use also use:

$pwmvalue = auto

lol

All works

I guess the real question is did Bobsheaux get it?

EzAng

PRO
Belgium
#70  

ezang

no i didn know that.

PRO
USA
#71  

I use

$soundvalue = auto $pwmvalue = 0

works the best

EzAng

PRO
USA
#72  

Or a simple script to turn on and off

set the servo speed to 2 or whatever, I use 0

ServoSpeed(d0, 0)

:loop

Set LED On

pwm(d0, 0)

wait some time for the pwm to do its ramping thing

sleep(1000)

#set LED Off pwm(d0, 100)

wait some time for the pwm to do its ramping thing

sleep(1000)

goto(loop)