arduino-audio-tools
Loading...
Searching...
No Matches
avr.h
1#pragma once
2
3#define USE_SD_NO_NS
4#define USE_PWM
5#define USE_TIMER
6#define NO_INPLACE_INIT_SUPPORT
7// Uncomment to activate network
8//#include <Ethernet.h>
9//#define USE_URL_ARDUINO
10#ifndef assert
11# define assert(T)
12#endif
13
14#define PIN_PWM_START 6
15#define PIN_CS SS
16
17#undef PWM_BUFFER_SIZE
18#define PWM_BUFFER_SIZE 125
19
20#undef DEFAULT_BUFFER_SIZE
21#define DEFAULT_BUFFER_SIZE 125
22
23// logging is using too much memory
24#undef USE_AUDIO_LOGGING
25#undef LOG_PRINTF_BUFFER_SIZE
26#define LOG_PRINTF_BUFFER_SIZE 60
27#define NO_TRACED
28#define NO_TRACEI
29#define NO_TRACEE
30
31// we use spi to emulate i2s
32#define PIN_I2S_BCK 13
33#define PIN_I2S_WS 10
34#define PIN_I2S_DATA_IN 12
35#define PIN_I2S_DATA_OUT 11
36#define PIN_I2S_MUTE -1
37