Notice this line:
int8_t index = 0x01;//the first song in the TF card
The index just indicates the first song, the second song, the third song (1, 2, 3), etc.
0x01 is unnecessary and confusing. 1 would work equally well.
Notice this line:
int8_t index = 0x01;//the first song in the TF card
The index just indicates the first song, the second song, the third song (1, 2, 3), etc.
0x01 is unnecessary and confusing. 1 would work equally well.