Hi, I have my nrf51 Dk (PCA10028) on which I want to connect a buzzer or speaker to one of the gpio pins which are not in use. I am confused on the following points:
1. Should the the buzzer be connected to a breadboard with one cable connected to the GND pin and the other to the Gpio pin 3 for example?
2. After connection, how should I define the pin as an output in my program?
3. How is sending a suitable melody (one with a suitable sound ) to the buzzer possible?
4. How can i make sure that this connection does not increase the current consumption of my board?
Any form of help will highly be appreciated