pic.programmer
Advanced Member level 3
- Joined
- Aug 19, 2015
- Messages
- 773
- Helped
- 141
- Reputation
- 284
- Reaction score
- 140
- Trophy points
- 43
- Activity points
- 7,531
Try something like this.
Are you using VS1053B Chip ?
Code C - [expand] 1 2 3 4 5 6 7 void MP3_Set_Volume(char left, char right) { unsigned int volume; volume = (left<<8) + right; // calculate value } MP3_Set_Volume(127 - level, 127 - level);
Are you using VS1053B Chip ?