ok so I changed this code in videoPlayerEffects.h
void showChannelNumber() {
char channelString[] = "0";
//if(currentFileNum>9){
// channelString[0]+= currentFileNum/10;
//}
channelString[0] += (currentFileNum % 10);
int yOffset = 50;
int xPosition = 80;
int xWidth = display.getPrintWidth(channelString);
to this
void showChannelNumber() {
char channelString[] = "00";
//if(currentFileNum>9){
// channelString[0]+= currentFileNum/10;
//}
channelString[1] += (currentFileNum % 10);
int yOffset = 50;
int xPosition = 80;
int xWidth = display.getPrintWidth(channelString);
Now I have double digits like 02, 03, 04, 05 etc. but I still cant get the channel numbers to go above 09
If I change this line
channelString[1] += (currentFileNum % 10);
to this
channelString[0] += (currentFileNum % 10);
The channels will go up by 10s like 20, 30, 40, 50 etc
Does anyone know what I cant try?