We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d2f612 + 1cd91ca commit dc74426Copy full SHA for dc74426
fs/api_gpio.js
@@ -36,7 +36,11 @@ let GPIO = {
36
// ## **`GPIO.read(pin)`**
37
// Read GPIO pin level. Return value: 0 or 1.
38
read: ffi('int mgos_gpio_read(int)'),
39
-
+
40
+ // ## **`GPIO.read(pin)`**
41
+ // Read GPIO pin level for GPIO in OUTPUT state. Return value: 0 or 1.
42
+ read_out: ffi ('int mgos_gpio_read_out(int)'),
43
44
// ## **`GPIO.enable_int(pin)`**
45
// Enable interrupts on GPIO pin.
46
// This function must be called AFTER the interrupt handler is installed.
0 commit comments