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
@sirus20x6
sirus20x6 / cloudSettings
Last active March 6, 2020 16:24
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-03-06T16:20:20.661Z","extensionVersion":"v3.4.3"}
[ 8.430]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 8.430] Build Operating System: Linux Manjaro Linux
[ 8.430] Current Operating System: Linux thread 5.8.0-2-MANJARO #1 SMP PREEMPT Sat Aug 8 17:55:27 UTC 2020 x86_64
[ 8.430] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-5.8-x86_64 root=UUID=b2cd43b2-8e91-4995-89ab-9ccec9813b74 rw rootflags=subvol=@ quiet apparmor=1 security=apparmor udev.log_priority=3 radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dc=1
[ 8.430] Build Date: 01 August 2020 07:25:56AM
[ 8.430]
[ 8.430] Current version of pixman: 0.40.0
[ 8.430] Before reporting problems, check http://wiki.x.org