aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chipmisc.py
Commit message (Collapse)AuthorAgeFilesLines
* pins: Rename parse_pin_desc() to lookup_pin()Kevin O'Connor2018-01-101-2/+2
| | | | | | | Always set the pin_params['type'] field on a pin lookup. Rename parse_pin_desc() to lookup_pin() to make the change more clear. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Setup static values via setup_start_value() callKevin O'Connor2018-01-081-17/+16
| | | | | | | Add an "is_static" setting to setup_start_value() and remove the setup_static() method. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add multi_pin capabilityKevin O'Connor2017-12-181-0/+50
| | | | | | | | Add the ability to alias multiple output pins from a single pin alias. This makes it possible to support some cases where a single logical output is driven by multiple output pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add support for output pins set at runtimeKevin O'Connor2017-12-181-15/+63
| | | | | | | Add the ability to define output pins that may be set at runtime with a new SET_PIN extended g-code command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Allow both shutdown and startup values to be set for output pinsKevin O'Connor2017-12-181-6/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Remove unneeded MCU_digital_out.get_last_setting() methodKevin O'Connor2017-12-061-4/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Move SET_SERVO command from gcode.py to chipmisc.pyKevin O'Connor2017-12-061-4/+18
| | | | | | | Now that commands can be registered dynamically, move the code for SET_SERVO from gcode.py to the PrinterServo() class in chipmisc.py. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pca9685: Support default valuesKevin O'Connor2017-10-121-4/+15
| | | | | | Allow the pwm pin to have a non-zero default value. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add initial support for servosKevin O'Connor2017-09-201-0/+43
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add support for Replicape boardKevin O'Connor2017-09-201-1/+173
| | | | | | | Add support for configuring and controlling the hardware specific to the revision "B3" Replicape board. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add support for configuring ad5206 digipotsKevin O'Connor2017-08-261-0/+27
| | | | | | | Support an "ad5206" config section so that one can configure the digipots found on Reprap "RAMBo" boards. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add support for statically configured output pinsKevin O'Connor2017-08-261-0/+43
Allow digital and PWM output pins to be setup via new config sections. This makes it easier to setup pin configurations. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>