⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.h

📁 This is the latest VS1053B chip interface routines combined with Elm Chan s FatFs library. Whole cod
💻 H
字号:
//Main Header file
#ifndef _MAIN_INCLUDED_
#define _MAIN_INCLUDED_

#define VOL_UP              PINA.4
#define VOL_DN              PINA.6
#define NEXT_F              PIND.0
#define PREV_F              PINB.4
#define PLAY_B              PINA.2
#define STOP_B              PINE.7
#define ON_OFF              PIND.4
#define NEXT_B              PINE.6
#define PREV_B              PINA.3
#define CARD_P              PINE & (1 << 2)
#define POWER_B             PIND & (1 << 4)

#define POWERON()  PORTD |= (1 << 7)  //PORTD.7
#define POWEROFF()   PORTD &= ~(1 << 7) //PORTD.7

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -