Quite new to ESP32 so still on a steep learning curve
I'm having trouble finding the I2S library in Micropython V1.18 on an ESP32-C3 board. This is the start of the code
Code: Select all
import os
import math
import struct
from machine import I2S
Traceback (most recent call last):
File "<stdin>", line 18, in <module>
ImportError: can't import name I2S
Is I2S a sub module of machine? or has it moved elesewhere?
Can anyone see an obvious reason why it fails?
Thanks in advance