Skip to content

Instantly share code, notes, and snippets.

@sirus20x6
sirus20x6 / i2s_stream.c
Created July 10, 2017 23:22 — forked from cnlohr/i2s_stream.c
ESP32 I2S C Code Example/Snippet
//Almost entirelly lifted directly from https://github.com/igrr/esp32-cam-demo
//Just clocked a little differently and has chained buffers.
//This totes works with the I2S bus on the ESP32 for READING 16 wires simultaneously.
//Can be clocked off of I2S's internal controller or an external clock.
#define I2S_D0 4
#define I2S_D1 5
#define I2S_D2 18
#define I2S_D3 19
#define I2S_D4 36