arduino-audio-tools
Loading...
Searching...
No Matches
unor4.h
1#pragma once
2
3// no trace to save on memory
4#define NO_TRACE
5#define LOG_NO_MSG // around 4K less
6
7#define USE_INT24_FROM_INT
8#define IS_RENESAS 1
9#define USE_TYPETRAITS
10#define USE_TIMER
11#define USE_PWM
12#define PIN_PWM_START D2
13#define PIN_PWM_COUNT 12
14#define USE_ANALOG
15#define USE_ANALOG_ARDUINO
16#define USE_SD_NO_NS
17#define PIN_ANALOG_START A0
18#define ANALOG_BUFFER_SIZE 512
19#define ANALOG_BUFFERS 5
20#define ANALOG_MAX_OUT_CHANNELS 1
21#define ANALOG_MAX_SAMPLE_RATE 16000
22// default pins for UNO VS1053 shield
23#define VS1053_CS 6
24#define VS1053_DCS 7
25#define VS1053_DREQ 2
26#define VS1053_CS_SD 9
27#define VS1053_RESET 8
28#define VS1053_DEFINED
29#define PIN_CS 9
30
31#if defined(ARDUINO) && !defined(ARDUINO_MINIMA)
32# define USE_WIFI
33# define USE_URL_ARDUINO
34# define USE_AUDIO_SERVER
35# include "WiFiS3.h"
36#endif