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
Button activation is processed in a dedicated handler, and most of the time what it does is setting some global variable to be polled in loop(). It makes sense to internalize this variable and provide it as part of the library. The variable type should probably be int to distinguish various types of activation; in the simplest scenario of a boolean flag one could just compare it with 0.
The text was updated successfully, but these errors were encountered:
Button activation is processed in a dedicated handler, and most of the time what it does is setting some global variable to be polled in
loop()
. It makes sense to internalize this variable and provide it as part of the library. The variable type should probably beint
to distinguish various types of activation; in the simplest scenario of a boolean flag one could just compare it with0
.The text was updated successfully, but these errors were encountered: