驱动开发day8(基于GPIO子系统编写LED驱动,编写应用程序进行测试,设置定时器,5秒钟打印一次hello world)
头文件:#ifndef__HEAD_H__#define__HEAD_H__#defineLED_ON_IOW('l',1,int)#defineLED_OFF_IOW('l',0,int)#endifc文件#include#include#include#include#include#include#include#include#include"head.h"intmain(intargc,