This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple Character Device Driver Module for Raspberry Pi. | |
/* | |
* DESCRIPTION: | |
* a simple example of char device | |
* this char device can control the GPIO by file operation : write | |
* to write specific message as command | |
* */ | |
#include <linux/module.h> | |
#include <linux/string.h> |