ATOMIC SPK Base (NS4168) UIFlow2 examples?
-
Hello,
is there an example of using the ATOMIC SPK Base (NS4168) in UIFlow2 ?I configured the I2S pins following the pins indicated at the bottom of https://docs.m5stack.com/en/atom/Atomic SPK Base
using Atom matrix, however I have not managed to get any audio out.( I also read the "Atomic SPK Base Some IO conflict with ATOM Matrix's built-in hardware, soAtomic SPK Base is only applicable to ATOM LITE/ATOMS3 LITE" warning, but looking at the schematics and the pin-compatibility table unclear what that problem could be.)
Thanks for your help.
-
Solution found!
Looking around at examples in https://docs.micropython.org/en/latest/library/machine.I2S.html
I noticed that the I2S "id: identifies a particular I2S bus; it is board and port specific" was set to 2.Changing "I2S port" from 0 to 2, and keeping everything else the same; made things work.
-
The ATOMIC SPK Base (NS4168) with UIFlow2 is compatible with various example projects for robotics and IoT. You can find UIFlow2 examples on the official Atomic Pi documentation or their GitHub repository for ready-to-use sample codes.