Hello!
We connected a vibration sensor as an input and a led,buzzer as an output.
We have to make 8 sets of this different input and output.We have 1set now in this coding though.
For the coding, we made it as a series connection so the led and the buzzer is connected with each other in the coding and as an output with the name under ledPin.
However, we encountered a problem when we tried to set the buzzer a certain note like C4 on the piano.
We tried most of the ways on the internet to set the buzzer as a note but all failed..
Is it because we tried to series connect the buzzer and the led??
We wondered if it is the matter of the connection of the inputs and the outputs. we are very beginners at these things..
Please have a look at our connection!
I have already asked for the coding problems..