base para parlante
This commit is contained in:
parent
4d1d3bb07b
commit
8393466854
|
|
@ -0,0 +1,15 @@
|
|||
#include "audio_utils.h"
|
||||
|
||||
|
||||
#include <driver/i2s.h>
|
||||
|
||||
|
||||
namespace AUDIO_Utils {
|
||||
|
||||
void setup() {
|
||||
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef AUDIO_UTILS_H_
|
||||
#define AUDIO_UTILS_H_
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
namespace AUDIO_Utils {
|
||||
|
||||
void setup();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue