Closed mtayyip closed 6 years ago
Could be the hardware... Shorted buzzer driver
On Feb 4, 2018 8:07 AM, Muhammet Tayyip Çankaya notifications@github.com wrote:
Hi, in the buzzer code : GPIOPinTypeGPIOOutput(GPIO_BUZZER_BASE, GPIO_PIN_BUZZER); it's running all the time buzzer.
And this code: GPIOPinWrite(GPIO_BUZZER_BASE, GPIO_PIN_BUZZER, enable ? GPIO_PIN_BUZZER : 0);//enable is false continues to work, does not stop
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Lauszus/LaunchPadFlightController/issues/15, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA0qHfhMlDMLPutnG8nd9ZTVwRsZwCHBks5tRauHgaJpZM4R4j83.
I connected the vcc to 3.3 volts.now it is OK
@mtayyip good to hear you got it working :)
Hi, in the buzzer code : GPIOPinTypeGPIOOutput(GPIO_BUZZER_BASE, GPIO_PIN_BUZZER); it's running all the time buzzer.
And this code: GPIOPinWrite(GPIO_BUZZER_BASE, GPIO_PIN_BUZZER, enable ? GPIO_PIN_BUZZER : 0);//enable is false continues to work, does not stop