On Tue, 24 Mar 2015 12:33:49 +0530, you wrote:
>How to use the switch/push buttton to record voice in beaglebone? Is it by
>using gpio programming by setting the pin as input?
You'd use GPIO programming and set the pin as an input. Pressing it
can start whatever part of your program you want.
It seems as if you need to look a bit more deeply into basic
microprocessor functions if you're asking this kind of question. The
program to record could be initiated by almost anything, a remote
command, a pushbutton, or even a sound.
Harvey