You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have the following question:
I have 2 fans pointing to the same calback
Fan_1.onStateChanged(onStateChanged);
Fan_1.onSpeedChanged(onSpeedChanged);
Fan_2.onStateChanged(onStateChanged);
Fan_2.onSpeedChanged(onSpeedChanged);
is there any way to callback:
void onStateChanged (bool state)
void onSpeedChanged (bool state)
and know which HAFan triggered the callback ??
Because now it always triggers Fan_1.
Hope someone can help me with this one.
Beta Was this translation helpful? Give feedback.
All reactions