flexi-bot/docs/marlin/_gcode/M908.md
2023-09-05 20:38:49 +02:00

37 lines
645 B
Markdown

---
tag: m0908
title: Set Trimpot Pins
brief: Set a digital trimpot directly
author: thinkyhead
requires: DAC_STEPPER_CURRENT|DIGIPOTSS_PIN
group: control
codes: [ M908 ]
notes: Requires `DAC_STEPPER_CURRENT` or `DIGIPOTSS_PIN`.
parameters:
-
tag: P
optional: false
description: Pin (i.e., Address, Channel)
values:
-
tag: address
type: int
-
tag: S
optional: false
description: Current value
values:
-
tag: current
type: int
examples:
---
Set the digital trimpot current directly by address/channel/pin index. `DAC_STEPPER_CURRENT` pertains to the MCP4728.