help in programing

Discussion in 'Embedded Systems and Microcontrollers' started by pranathi1091, Nov 2, 2012.

  1. pranathi1091

    Thread Starter New Member

    Oct 12, 2012
    4
    0
    Hello All,

    I am using Stm32f2 controller. I have beeper connected to one of the GPIO pin of controller.
    To genearte a beep sound, is it sufficeint that if i set this GPIO or should i provide a PWM input?
    IF PWM input has to be provided , how can i do that?

    I am new to this field
    Could anyone anyone help me doing this

    Thanks
     
  2. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    It depends if the beeper is DC or AC.
     
Loading...