mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
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:
committed by
Damien George
parent
d980bbd237
commit
094437686f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user