It's useful for visual feedback so you don't have to rely only on the buzzer.
In the two_button.py example, I blink the red light once if the badge scan is rejected or if you try to push the green button before badging. In both cases we already beep so now we'll also flash the red button once.
It's useful for visual feedback so you don't have to rely only on the buzzer.
In the two_button.py example, I blink the red light once if the badge scan is rejected or if you try to push the green button before badging. In both cases we already beep so now we'll also flash the red button once.