HT16K33 Animator (8X8) icon HT16K33 Animator (8X8) — Control for Adafruit 8x8 LED Matrix (HT16K33) via EZ-B v4 I2C; creates animations, supports module initialization and EZ-Script control. Try it →

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
United Kingdom
YouTube
#41  

@DJ.

That's cool. I guessed it was a GOTO but didn't realise you could rename, or should I say label it with a custom named. I'll have a look at the examples folder.

Thanks.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#42  

Anytime dude:D

I think my random selection of CHICKEN was due to how hungry I am... oh so hungry. Skipped lunch!

Author Avatar
United Kingdom
YouTube
#43  

Mmmm. I was thinking pizza myself, lol. Go get something to eat buddy.

Author Avatar
PRO
Belgium
Thingiverse
#44  

so above loop comes chicken?or any name.

Author Avatar
United Kingdom
YouTube
#45  

@nomad.

From how I understanding now, that's not correct. In your example, :loop doesn't go above :chicken, :loop is :chicken (or :whatever you name it).

Quote from the script manual...

Defines a label for a GOTO() command Example: :My_Label [/quote]

#46  

For you guys that are hungry....:)


setVolume(100)
:chickenandpizza
ControlCommand(Soundboard V4, Track_4)
repeatuntil(1=2)
$distance=GetPing(D20,D21) #check ping
if ($distance<50)
ControlCommand("Soundboard v4", Stop)
servo(D3,90)
sayEZBwait("danger, danger, danger")
goto(chickenandpizza)
endif
sleep(250)
endrepeatuntil
Author Avatar
United Kingdom
YouTube
#47  

Hmmmm, tasty.:D

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#48  

@RichardR a little off topic but I've always wondered why you use the impossible statement in a repeatuntil rather than a label/goto loop?