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 9f00859 commit 1cd91caCopy full SHA for 1cd91ca
fs/api_gpio.js
@@ -37,8 +37,9 @@ let GPIO = {
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)'),
+ // ## **`GPIO.read(pin)`**
+ // 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.
0 commit comments