This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Airrr's i2s random MOD player with "skipnext" button and OLED | |
//main library: https://github.com/earlephilhower/ESP8266Audio | |
//DAC (PCM5102): | |
//3.3V -> VCC, 33V, XMT, (SCK) | |
//GND -> GND, FLT, DMP, FMT, SCL | |
//BCLK->BCK to Pin D26 ESP32 | |
//I2SO->DIN to Pin D22 | |
//LRCLK(WS)->LCK to Pin D25 | |
//OLED SSD1306: | |
//SDA -> D21, SCL -> D4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////////////////////////////////////////////////////////// | |
//0.96" 128x32 i2c OLED. SDA=A4, SCL=A5 | |
///////////////////////////////////////////////////////////// | |
#include <SPI.h> | |
#include "SdFat.h" | |
#include "SSD1306Ascii.h" | |
#include "SSD1306AsciiAvrI2c.h" | |
#define I2C_ADDRESS 0x3C | |
//#define RST_PIN -1 |