From eaa554565a3208217e249c6d6a28be82290e467e Mon Sep 17 00:00:00 2001 From: Liz Date: Thu, 18 Jul 2024 14:59:55 -0400 Subject: [PATCH 1/2] rename cnc macropad folder no longer using an esp32-s3 --- {ESP32-S3_CNC_MacroPad => CNC_MacroPad}/code.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ESP32-S3_CNC_MacroPad => CNC_MacroPad}/code.py (100%) diff --git a/ESP32-S3_CNC_MacroPad/code.py b/CNC_MacroPad/code.py similarity index 100% rename from ESP32-S3_CNC_MacroPad/code.py rename to CNC_MacroPad/code.py From d78a6563a542c2416829eef19c55deb1ce0c6da1 Mon Sep 17 00:00:00 2001 From: Liz Date: Thu, 18 Jul 2024 15:02:02 -0400 Subject: [PATCH 2/2] change to D24, D25 for encoder rp2040 pins --- CNC_MacroPad/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CNC_MacroPad/code.py b/CNC_MacroPad/code.py index 0baba77a7..19eea4753 100644 --- a/CNC_MacroPad/code.py +++ b/CNC_MacroPad/code.py @@ -68,7 +68,7 @@ def key_to_pixel_map(key_number): pixels.fill(OFF) # Begin with pixels off. # make an encoder -encoder = rotaryio.IncrementalEncoder(board.A3, board.A4) +encoder = rotaryio.IncrementalEncoder(board.D24, board.D25) last_position = 0 while True: