module GPIO
Defined in:
gpio.crgpio/version.cr
Constant Summary
-
HIGH =
1 -
INPUT =
"in" -
LOW =
0 -
OUTPUT =
"out" -
SYSFS_PATH =
"/sys/class/gpio" -
VERSION =
"0.1.0"
Class Method Summary
- .clean_up
- .pin_mode(pin : Int32, mode : String)
- .read(pin : Int32)
- .read_pin(pin : Int32) : Int32
- .unexport(pin : Int32)
- .write(pin : Int32, value : Int32)
- .write_pin(pin : Int32, value : Int32)