blob: 741b063bce60db885dd1ab055e5f1d290ff58d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
---
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.
|