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.
1 parent 8d2f612 commit 9f00859Copy full SHA for 9f00859
fs/api_gpio.js
@@ -36,7 +36,10 @@ 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
+ //read GPIO level for OUTPUT GPIO mode. Return value: 0 or 1.
41
+ readout: ffi ('int mgos_gpio_read_out(int)'),
42
43
// ## **`GPIO.enable_int(pin)`**
44
// Enable interrupts on GPIO pin.
45
// This function must be called AFTER the interrupt handler is installed.
0 commit comments