Hello, Does anyone can give me an example of writing a simple device driver :
fd = open("/dev/testLED");
while(1){
write(fd,"LED_ON");
sleep(1);
write(fd,"LED_OFF");
sleep(1);
}
I want that this program blink a led connected on G24.
I know that this driver is not usefull but it can help me to
understand the way to write my own device driver. I have looked the
LCD driver but it's too hard for me !
Thank you for your help.
bye bye
