PCB: Modify rotary encoder footprint to remove the leg mounts; assign pins

This commit is contained in:
Lexi / Zoe 2024-02-29 18:30:31 +01:00
parent b621ff952c
commit 6cde20c085
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
2 changed files with 74 additions and 6 deletions

View file

@ -173,16 +173,16 @@ pcbs:
# TODO: Check if the position of the rotary encoder fits with the controller board
rotary_encoder:
what: rotary
what: rotary_modified
where: is_rotary_encoder
adjust.rotate: 90
params:
# TODO: Set these to GPIO pins
A: "rotary_encoder_a"
B: "rotary_encoder_b"
C: "rotary_encoder_c"
from: "{{colrow}}"
to: "{{row_net}}"
# TODO: Check whether these pins are correct (should C really be GND?)
A: P3
B: P4
C: GND
diode:
what: diode_smd
@ -242,7 +242,7 @@ pcbs:
where:
ref: pad_five_five
rotate: -90
shift: [ 0, 2 ]
shift: [ 0, 3 ]
params:
orientation: down