Skip to content

Commit

Permalink
change to D24, D25 for encoder
Browse files Browse the repository at this point in the history
rp2040 pins
  • Loading branch information
BlitzCityDIY committed Jul 18, 2024
1 parent eaa5545 commit d78a656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CNC_MacroPad/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d78a656

Please sign in to comment.