Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 9 months ago.
How to redefine standard pin
I've buit a board with an ST32F303K8T6 MCU. And I have connected a buzzer to pin PB_3, where normally on the development board, LED1 is connected.
When I include the buzzer.h library and try to create an object on that pin, it compiles but I can hear the 4 slow, 4 quick led 'blinks' coming from the speaker, thus letting me know that there is something wrong, probably in the pindefenition for the the buzzer.
How can I solve this problem?