mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 06:10:27 +09:00
mcp4451: Add initial support for programming the mcp4451 on lpc176x
Add support for programming smoothieboard current. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -85,3 +85,19 @@ max_z_accel: 100
|
||||
|
||||
[static_digital_output leds]
|
||||
pins: P1.18, P1.19, P1.20, P1.21, P4.28
|
||||
|
||||
[mcp4451 stepper_digipot1]
|
||||
i2c_address: 88
|
||||
# Scale the config so that values can be specified in amps.
|
||||
scale: 2.25
|
||||
# wiper 0 is X (aka alpha), 1 is Y, 2 is Z, 3 is E0
|
||||
wiper_0: 1.0
|
||||
wiper_1: 1.0
|
||||
wiper_2: 1.0
|
||||
wiper_3: 1.0
|
||||
|
||||
[mcp4451 stepper_digipot2]
|
||||
i2c_address: 90
|
||||
scale: 2.25
|
||||
# wiper 0 is E1
|
||||
wiper_0: 1.0
|
||||
|
||||
Reference in New Issue
Block a user