Hello, I write from Germany.
I used the sketch for the 1602 LCD. I have a Dot matrix LED and 7 Segment with 8 digits.
Both driver are MAX7219.
LCD works, Dot Matrix too for Gears. Now I want to use the 7 Segment for RPM and Speed.
I thought it will work like this.
if (gear==0){
sprintf(message,"%s:%s %s:%5d",rapport, reverse , trmin, rpm);
sprintf(message1,"%s:%3d %s",speed1, speed , speedunit);
lcd.setCursor(0,0);
lcd.write(message); //envoi le message sur l'écran 1 ere ligne
lcd.setCursor(0,1);
lcd.write(message1); //envoi le message sur l'écran 2 eme ligne
mydisplay.setRow(0,0,B11111111);
mydisplay.setRow(0,1,B11111111);
mydisplay.setRow(0,2,B11111111);
mydisplay.setRow(0,3,B00011011);
mydisplay.setRow(0,4,B00011011);
mydisplay.setRow(0,5,B11111111);
mydisplay.setRow(0,6,B11111111);
mydisplay.setRow(0,7,B11101110);
mydisplay.setDigit(1, 7, rpm, false);
mydisplay.setDigit(1, 2, speed, false);
}