Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Beep sound for button press: (2 Items)
   
Beep sound for button press  
Hi, 

How do we configure a beep sound for a button press in photon application.

Please suggest me on above issue.

Regards,
Harish.
Re: Beep sound for button press  
Hi,

 try this



fp = fopen( "/dev/con1", "w" );
if( fp != NULL ) {
putc('\a', fp);
putc('\n', fp);
fclose( fp );
}