当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 0

Colorange/电子音乐万年历
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mp3.h 572 Bytes
一键复制 编辑 原始数据 按行查看 历史
Colorange 提交于 2024-07-05 12:35 . Release Candidate
#ifndef _MP3_H_
#define _MP3_H_
#include<reg52.h>
#ifndef uchar
#define uchar unsigned char
#endif
#ifndef uint
#define uint unsigned int
#endif
sbit sda = P3^7;
void Send( uchar addr );
void playmusic(uchar num, uchar vol_type);
void stopmusic();
void set_single_loop(uchar is_loop);
void send_volume(uchar vol_type);
void mp3_init();
char get_notification_volume();
char get_media_volume();
char get_alert_volume();
void set_notification_volume(char vol_temp);
void set_media_volume(char vol_temp);
void set_alert_volume(char vol_temp);
void page_music();
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/chengzhifx/electronic-music-calendar.git
git@gitee.com:chengzhifx/electronic-music-calendar.git
chengzhifx
electronic-music-calendar
电子音乐万年历
master

搜索帮助

Cb406eda 1850385 E526c682 1850385