Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in board for M5 Stack Cardputer #9057

Closed
phesterman opened this issue Mar 17, 2024 · 1 comment · Fixed by #9020
Closed

Typo in board for M5 Stack Cardputer #9057

phesterman opened this issue Mar 17, 2024 · 1 comment · Fixed by #9020
Labels

Comments

@phesterman
Copy link

CircuitPython version

Adafruit CircuitPython 9.0.0-rc.1 on 2024-03-14; M5 Stack Cardputer with ESP32S3

Code/REPL

# for I2S audio with external I2S DAC board
import audiobusio

audio = audiobusio.I2SOut(board.I2S_BIT_CLOCK, board.I2S_WORD_SELECT, board.I2S_DATA)

Behavior

code.py output:
Traceback (most recent call last):
File "code.py", line 17, in
AttributeError: 'module' object has no attribute 'I2S_DATA'

Description

In board, the I2S pins are identified as: 'I2S_BIT_CLOCK', 'I2S_WORD_SELECT', and 'IS2_DATA'.
You can see the typo in the naming of the data pin.

Additional information

Substituting IS2_DATA for I2S_DATA stops the error, but doesn't fix the typo, of course.

@phesterman phesterman added the bug label Mar 17, 2024
@RetiredWizard
Copy link

This is fixed in the "absolute newest" version by #9020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants