From a650b43771f120820f089faea18e317acf11f41b Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 16 Aug 2024 12:39:10 +0800 Subject: [PATCH] README: Document units in clamped PWM value --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d4e2c4c..dbb015f 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,10 @@ formatted as line-delimited JSON. | `report mode` | Show current report mode | | `report mode ` | Set report mode | | `pwm` | Show current PWM settings | -| `pwm <0/1> max_i_pos ` | Set maximum positive output current, clamped to [0, 2] | -| `pwm <0/1> max_i_neg ` | Set maximum negative output current, clamped to [0, 2] | -| `pwm <0/1> max_v ` | Set maximum output voltage, clamped to [0, 4] | -| `pwm <0/1> i_set ` | Disengage PID, set fixed output current, clamped to [-2, 2] | +| `pwm <0/1> max_i_pos ` | Set maximum positive output current, clamped to [0 A, 2 A] | +| `pwm <0/1> max_i_neg ` | Set maximum negative output current, clamped to [0 A, 2 A] | +| `pwm <0/1> max_v ` | Set maximum output voltage, clamped to [0 V, 4 V] | +| `pwm <0/1> i_set ` | Disengage PID, set fixed output current, clamped to [-2 A, 2 A] | | `pwm <0/1> polarity ` | Set output current polarity, with 'normal' being the front panel polarity | | `pwm <0/1> pid` | Let output current to be controlled by the PID | | `center <0/1> ` | Set the MAX1968 0A-centerpoint to the specified fixed voltage |