mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 05:24:02 -06:00
linux: Convert SPI to use enumerations
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
3e71a57f67
commit
f8bde6b1ef
2 changed files with 11 additions and 2 deletions
|
@ -7,7 +7,7 @@ import logging
|
|||
import pins, mcu, bus
|
||||
|
||||
REPLICAPE_MAX_CURRENT = 3.84
|
||||
REPLICAPE_SHIFT_REGISTER_BUS = 0x0101
|
||||
REPLICAPE_SHIFT_REGISTER_BUS = "spidev1.1"
|
||||
REPLICAPE_PCA9685_BUS = 2
|
||||
REPLICAPE_PCA9685_ADDRESS = 0x70
|
||||
REPLICAPE_PCA9685_CYCLE_TIME = .001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue