gpio_write
Set a GPIO pin high (1) or low (0) on a Flipper Zero. Configure the pin's output mode separately before writing a value.
Instructions
Set a GPIO pin high (1) or low (0); configure output mode separately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pin": "<pin>",
"value": "<value>"
},
"name": "gpio_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |