Sound sensor sample code explanation #382
-
I've just started to try and use the sound sensor recently. I come from a non-electronic background. There's this line of code in the sample sound sensor with Arduino code.
I want to ask, what is the number 32? Why particularly 32 in this case? Thanks for any help in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
MatthewJeffson
Jul 10, 2023
Replies: 1 comment 4 replies
-
Nice to have you onboard! :D |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I think this line of code represents the sound sensor reading the sound 32 times in a row and displaying it, for one-time operation. And it doesn't have to be the "32" and you can change it to other number.