base para parlante

This commit is contained in:
richonguzman 2024-11-13 07:37:36 -03:00
parent 4d1d3bb07b
commit 8393466854
3 changed files with 32 additions and 3 deletions

15
src/audio_utils.cpp Normal file
View File

@ -0,0 +1,15 @@
#include "audio_utils.h"
#include <driver/i2s.h>
namespace AUDIO_Utils {
void setup() {
//
}
}

12
src/audio_utils.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef AUDIO_UTILS_H_
#define AUDIO_UTILS_H_
#include <Arduino.h>
namespace AUDIO_Utils {
void setup();
}
#endif

View File

@ -163,9 +163,11 @@
#define TrackBallDown 15 // G S3
#define TrackBallLeft 1 // G S4
#define TrackBallRight 2 // G S2
/*#define BOARD_I2S_WS 5 // esto es para el audio!
#define BOARD_I2S_BCK 7
#define BOARD_I2S_DOUT 6*/
#define HAS_I2S
#define DAC_I2S_WS 5
#define DAC_I2S_DOUT 6
#define DAC_I2S_BCK 7
#endif