gpio_write
Set a GPIO pin on a Flipper Zero to high or low (1 or 0) over Bluetooth LE. Requires the pin to be configured as output first.
Instructions
Set a GPIO OUTPUT pin over BLE (gpio_write_pin). pin: PC0|PC1|PC3|PB2|PB3|PA4|PA6|PA7; value 0/1. Set the pin to OUTPUT first via gpio_set_mode. Real action.
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 |