esmp3/include/esmp3.h

26 lines
481 B
C
Raw Normal View History

#pragma once
2022-08-21 09:37:42 +00:00
#include "controller.h"
2022-08-21 09:37:42 +00:00
#include "playlist_manager.h"
#include <Audio.h>
#define PIN_CS_SD 22
#define PIN_CS_RFID 21
2022-08-21 09:37:42 +00:00
#define PIN_BTN_VOL_UP 32
#define PIN_BTN_VOL_DOWN 33
2022-08-21 12:00:52 +00:00
#define PIN_BTN_TRACK_NEXT 17
#define PIN_BTN_TRACK_PREV 16
#define I2S_DOUT 25
2022-08-21 09:37:42 +00:00
#define I2S_BCLK 26
#define I2S_LRC 27
class Controller;
extern Controller controller;
extern Audio audio;
extern PlaylistManager* pm;
extern MFRC522* rfid;
2022-08-21 09:37:42 +00:00
void save_audio_current_time();