Cant use function


#1

Im tring to execute a function, but i get this error :
(Its a led controlling app)
Error : UX function not found: ‘SetColor’?: Error : Object reference not set to an instance of an object
there my code :


JS:


#2

The callback just expects a name, you need to use an Observable instead of calling a function with parameters from UX.