GPS icon GPS Deprecated: reads latitude, longitude, UTC time and speed from ublox NEO-6M GPS; auto-inits UART0@9600, shows processed and raw data. Try it →

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
PRO
USA
#65  

Nomad did you see the code I pasted?

EzAng

Author Avatar
PRO
Belgium
Thingiverse
#66  

ezang

do you mean this?

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

Author Avatar
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

Author Avatar
PRO
Belgium
Thingiverse
#68  

ezang

thats good info thanks.

Author Avatar
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

Author Avatar
PRO
Belgium
Thingiverse
#70  

ezang

no i didn know that.

Author Avatar
PRO
USA
#71  

I use

$soundvalue = auto $pwmvalue = 0

works the best

EzAng

Author Avatar
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)