Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Phidget.SetAnimation

Display an animation.

Component Version macOS Windows Linux Server iOS SDK
Phidget 16.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Phidget.SetAnimation"; PhidgetRef; animationID; pattern; StartAddress; EndAddress; Time; AnimationType )   More

Parameters

Parameter Description Example
PhidgetRef The reference number for the phidget. $phidget
animationID The ID of the animation.
pattern The list with colors.
4 values per color with red, green, blue and white.
"255¶0¶0¶0¶127¶0¶0¶0"
StartAddress Which LED to start the animation from. 5
EndAddress Which LED the animation will end on. 10
Time Time between changes in ms. 200
AnimationType The animation type.
Can be ForwardScroll, ReverseScroll, Randomize, ForwardScrollMirror or ReverseScrollMirror.
"ForwardScroll"

Result

Returns OK or error.

Description

Display an animation.
Only for LED arrays.

See also

Release notes

  • Version 16.1
    • Added Phidget.ClearLEDs, Phidget.SetAnimation, Phidget.SetLED, Phidget.SetLEDs, Phidget.StopAnimation and Phidget.SynchronizeAnimations functions.

Blog Entries

This function checks for a license.

Created 30th January 2026, last changed 30th January 2026


Phidget.ResetFailsafe - Phidget.SetLED