tests/extmod_hardware/machine_encoder.py: Use target_wiring for encoder.

Signed-off-by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
This commit is contained in:
Ihor Nehrutsa
2025-09-19 13:04:37 +03:00
committed by Damien George
parent d980bbd237
commit 094437686f
3 changed files with 11 additions and 11 deletions

View File

@@ -2,6 +2,11 @@
#
# Connect:
# - GPIO4 to GPIO5
# - GPIO12 to GPIO13
uart_loopback_args = (1,)
uart_loopback_kwargs = {"tx": 4, "rx": 5}
encoder_loopback_id = 0
encoder_loopback_out_pins = (4, 12)
encoder_loopback_in_pins = (5, 13)