diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-05-29 20:59:17 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-06-29 21:20:12 -0400 |
commit | d72516070644bbe7876ae002121913fc9e2b64ed (patch) | |
tree | 11289ac06c10fdf55125b88fd3feeeaac3e8f9e2 /config/generic-smoothieboard.cfg | |
parent | cc6b4166600692cddf165468d5349dac0804890b (diff) | |
download | kutter-d72516070644bbe7876ae002121913fc9e2b64ed.tar.gz kutter-d72516070644bbe7876ae002121913fc9e2b64ed.tar.xz kutter-d72516070644bbe7876ae002121913fc9e2b64ed.zip |
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>
Diffstat (limited to 'config/generic-smoothieboard.cfg')
-rw-r--r-- | config/generic-smoothieboard.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/generic-smoothieboard.cfg b/config/generic-smoothieboard.cfg index 0366e4f6..d52fff07 100644 --- a/config/generic-smoothieboard.cfg +++ b/config/generic-smoothieboard.cfg @@ -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 |