Pro Micro And Piezo Trouble

Hello! I'm new to Arduino and am building a taiko controller as a passion project.
I'm having trouble understanding why the piezo input won't work.
I've had to upload the code to the pro micro, using the double reset method, though after i've uploaded it, the board is seen as a non rocgnized usb device.
Is there a way for it to be recognized as a keyboard press? As even though it's connected it wont type anything.

Could someone please help to fix this, i've spent hours trying to fix this for the past days or so.

Here's also the picture of how I connected the piezo and pro micro to the breadboard.

The black wire is connected to A0, and the turqoise one is connected to ground.

Thank you all in advance!

It does not look like you have soldered the headers to the Pro Micro. Start with that.

The usual reason is that you have a bug in your code. So please post it using code tags as described in How to get the best out of this forum.

Which piezo? I only see a resistor.

What are the orange and yellow wires for?

Thanks I'll take it in consideration and the orange and yellow wires are for the piezo

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.