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
Returning a copy of that RGBLED object fails to control the LED properly.
Creating a new instance with the same pins fails in the same way.
We could add a bit of class level documentation saying you can only have one instance targeting the same pins.
We could also disable the copy constructor to guide coders.
The text was updated successfully, but these errors were encountered:
Returning a copy of that
RGBLED
object fails to control the LED properly.Creating a new instance with the same pins fails in the same way.
We could add a bit of class level documentation saying you can only have one instance targeting the same pins.
We could also disable the copy constructor to guide coders.
The text was updated successfully, but these errors were encountered: