Skip to content

Commit

Permalink
Refine error message for rp2040 audiobusio I2S object creation
Browse files Browse the repository at this point in the history
The error message for creating an I2S object on the rp2040 platform
in CircuitPython can be misleading when the word_select and data pins
are not sequential. This change updates the error message to provide
clearer guidance by specifying "GPIO pins" instead of just "pins".
The revised message now reads:

ValueError: Bit clock and word select must be sequential GPIO pins

Closes adafruit#8058

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
  • Loading branch information
heygauri committed Oct 8, 2023
1 parent 426e54f commit 0029617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 518 deletions.
Loading

0 comments on commit 0029617

Please sign in to comment.