Skip to content

Commit

Permalink
Update Klipper Expander docs for pin callouts (#225)
Browse files Browse the repository at this point in the history
* Update Klipper Expander docs for pin callouts

* Update README.md
  • Loading branch information
timmit99 authored Jul 13, 2024
1 parent 7cb8fe3 commit e085ce3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
13 changes: 8 additions & 5 deletions Klipper_Expander/Documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ Connected to pins PA0, PA1, PA2 and PA3
Example configuration:
```
[output_pin mosfet0]
pin: PA0
pin: expander:PA0
value: 0
shutdown_value: 0
```
_You may need to change `expander:` to match your expander mcu name_

## Thermistors (PA5, PA6)

Expand All @@ -107,20 +108,21 @@ Connected to pins PA5 and PA6
<img src="../Images/Thermistors.png" width="300">


Example configuration for a standalone thermistor (Not tied to a bed or hotend)
Example configuration for a standalone thermistor (Not tied to a bed or hotend):
```
[temperature_sensor t0]
sensor_type: ThermistorType
sensor_pin: PA6
sensor_pin: expander:PA6
gcode_id: T0
```

```
[temperature_sensor t1]
sensor_type: ThermistorType
sensor_pin: PA5
sensor_pin: expander:PA5
gcode_id: T1
```
_You may need to change `expander:` to match your expander mcu name_

## Neopixel header (PB1)

Expand All @@ -131,12 +133,13 @@ Connected to J1, which has a NPV supplied voltage, GND and PB1
Example configuration:
```
[neopixel Pixel]
pin: PB1
pin: expander:PB1
chain_count: 1
initial_RED: 0.9
initial_GREEN: 0.3
initial_BLUE: 0.0
```
_You may need to change `expander:` to match your expander mcu name_

# Setup

Expand Down
6 changes: 3 additions & 3 deletions Klipper_Expander/Software/klipperExpander.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ initial_GREEN: 0.3
initial_BLUE: 0.0

# Other Pins
# T0 = PA6
# T1 = PA5
# GPIO = PA7
# T0 = expander:PA6
# T1 = expander:PA5
# GPIO = expander:PA7

0 comments on commit e085ce3

Please sign in to comment.