Test firmware in the emulator
test_firmwareRun the compiled firmware in the emulator: serial output, pin history, PWM, OLED drawing, I2S audio summary. inputs: [{t, module, ms, value, volts, temp, hum, steps, press, key, uid, x, y, values, hz, level, charging, full}] (inmp441 microphone: hz + level 0..1, ms; li_battery: volts of the cell, charging, full). Any microcontroller pin without a simulated part: {t, net (or pin, e.g. GPIO4), volts} sets the voltage on an ADC pin (4-20 mA input, divider, analog sensor), {t, net, level: 0|1} drives a contact (float switch, dry contact on a terminal). Costs credits. Requires a PCBBrew account (sign-in).
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": {
"project_id": "<project_id>"
},
"name": "test_firmware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| seconds | No | ||
| project_id | Yes | id from create_project or list_projects |