📄 sta013.h
字号:
// STA013 I2C address
#define STA_I2C_DEV 0x86
#define STA_IDENT 0xAC
// STA013 register (sub)address
#define STA_REG_VERSION 0x00
#define STA_REG_IDENT 0x01
#define STA_REG_RVOL 0x46
#define STA_REG_LVOL 0x48
#define STA_REG_RUN 0x72
#define STA_REG_PLAY 0x13
void sta_enable();
void sta_disable();
void sta_reset();
boolean sta_identify();
byte sta_readreg(byte reg);
byte sta_writereg(byte reg, byte data);
byte sta_loadconfig();
byte sta_playfilenum(num);
byte sta_playfilename(char *name);
byte buttonquery();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -