#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h> 

//char buf[3] = {'3','1','\0'};
char *buf = "01";

int main(void)
{

	int fd;

	fd = open("/dev/buzzer_gpio",O_RDWR);
	if (fd < 0) 
		printf("open file failed!\n");

	
	write(fd,buf,strlen(buf)+1);

	
	return 0;
}
