diff options
| author | Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com> | 2025-09-19 13:04:37 +0300 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-11-19 16:10:12 +1100 |
| commit | 094437686fc53727318eea82e5609106c26e882a (patch) | |
| tree | d72a1b397cddef76e92e438f7f05d88108135922 /tests/target_wiring/esp32.py | |
| parent | d980bbd23717d504b8be8613e119467ca2136b2b (diff) | |
tests/extmod_hardware/machine_encoder.py: Use target_wiring for encoder.
Signed-off-by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Diffstat (limited to 'tests/target_wiring/esp32.py')
| -rw-r--r-- | tests/target_wiring/esp32.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/target_wiring/esp32.py b/tests/target_wiring/esp32.py index 63d7a81a2..2767cd5ac 100644 --- a/tests/target_wiring/esp32.py +++ b/tests/target_wiring/esp32.py @@ -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) |
