Hi all, I'm newbie for friendlyARM board. Now, I'm working on micro2440 with embedded linux. Now, I'm trying to write C program to control PWM module but the GPB0 is connected with buzzer which I don't want to use. Therefore, I have some questions as follows: 1) Are there any way to disable buzzer on ARM board? 2) If the buzzer can't be disabled, how can I specify the PWM output pin in C code? (because, in example code of PWM, it used only open("/dev/pwm",3) ) 3) If we can't specify the output pin of PWM via C code, do I need to modified PWM device driver and then compile with linux kernel to install on ARM board again? Thank you for any help you can provide.
Can we disable buzzer on friendlyARM board?
1) Are there any way to disable buzzer on ARM board? yes, take a soldering iron or write an other driver. 2) If the buzzer can't be disabled, how can I specify the PWM output pin in C code? (because, in example code of PWM, it used only open("/dev/pwm",3) ) write an other driver 3) If we can't specify the output pin of PWM via C code, do I need to modified PWM device driver and then compile with linux kernel to install on ARM board again? you got it!