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

Phidget.SetLEDs

Sets the LEDs for a LED array.

Component Version macOS Windows Linux Server iOS SDK
Phidget 16.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Phidget.SetLEDs"; PhidgetRef; StartAddress; EndAddress; pattern; fadeTime )   More

Parameters

Parameter Description Example
PhidgetRef The reference number for the phidget. $phidget
StartAddress The address of the first LED in the segment.
EndAddress The address of the last LED in the segment.
pattern The list with colors.
4 values per color with red, green, blue and white.
"255¶0¶0¶0¶127¶0¶0¶0"
fadeTime The time to fade from the previous state in milliseconds.

Result

Returns OK or error.

Description

Sets the LEDs for a LED array.
Only for LED arrays.

See also

Release notes

Blog Entries

This function checks for a license.

Created 30th January 2026, last changed 12nd March 2026


Phidget.SetLED - Phidget.SetProperty


MarkDown version: PhidgetSetLEDs.md