We are going to do an MP3 player, press 1 to sing the first song, infrared remote control press 2 sing the next song, press 3 to sing the song, but after the first song play don't interrupt, can't switch the other two at any time, here is the code
CodePudding user response:
Define the hw_jsm place and volatile
CodePudding user response:
No, this is program flow problem, you play1 processing infrared buttons are there in ()?
CodePudding user response:
this is a function of play1
CodePudding user response:
Have resolved the thank you, I also want to ask which function of the control volume is change play1