No description
- C 95.6%
- Makefile 4.4%
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| rpm.c | ||
rpm
Installation
- Run
sudo make install
Example usage
cat /sys/class/rpm/rpm0/rpm
Example device tree entry
rpm_fan0: rpm_fan0 {
compatible = "sentinel,rpm-gpio";
rpm-gpios = <&gpio 7 1>; /* 1 = GPIO_ACTIVE_LOW */
pulses-per-revolution = <2>;
status = "okay";
};