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

type object 'I2S' has no attribute 'RX' #29

Open
DansDesigns opened this issue Nov 29, 2022 · 1 comment
Open

type object 'I2S' has no attribute 'RX' #29

DansDesigns opened this issue Nov 29, 2022 · 1 comment

Comments

@DansDesigns
Copy link

DansDesigns commented Nov 29, 2022

Hello,
When using the following setup for an I2S Microphone on ESP32-WROOM-32

audio_in = I2S(0,
               sck=bck_pin,
               ws=ws_pin,
               sd=sdin_pin,
               mode=I2S.RX,
               bits=16,
               format=I2S.MONO,
               rate=16000,
               ibuf=16000
               )

I keep getting the type object 'I2S' has no attribute 'RX' error..
I'm not sure what the issue is but I'm guessing its firmware based?

Thank you for the help

@miketeachman
Copy link
Owner

That is really strange. Can you tell me what version of MicroPython you are running?

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

No branches or pull requests

2 participants