We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I had this idea where you can press the m5 Button (BtnA) to scroll through the camera channels.
I've tried different ways to implement this myself but i couldn't get it running. M5.BtnA.waspressed() M5.BtnA.ispressed()
if (M5.BtnA.wasPressed()) { cameraNumber = FSM + 1; FSM++; if (FSM >= 4) // set max number of camera in this case 4 FSM = 1; }
Both didn't work for me.
Maybe someone else is luckier than me.
The text was updated successfully, but these errors were encountered:
I've put put in a PR to solve this issue. I've tested this on an M5StickC and it's worked quite well.
Sorry, something went wrong.
No branches or pull requests
Hi,
I had this idea where you can press the m5 Button (BtnA) to scroll through the camera channels.
I've tried different ways to implement this myself but i couldn't get it running.
M5.BtnA.waspressed()
M5.BtnA.ispressed()
if (M5.BtnA.wasPressed()) { cameraNumber = FSM + 1; FSM++; if (FSM >= 4) // set max number of camera in this case 4 FSM = 1; }
Both didn't work for me.
Maybe someone else is luckier than me.
The text was updated successfully, but these errors were encountered: