merci lesept de ta réponse !
j'ai trouvé cette solution qui me convient parfaitement: ![]()
int data[] = {0x7c,0x8a,0x92,0xa2,0x7c};
for (int scroll = 0; scroll < DISPLAY_SIZE; scroll++) {
// Zeros to scroll
for (int i = 0; i < scroll; i++){
display(0);
}
//Character to scroll
for (int j = 0; (j < DATA_SIZE) && ((j+i) < DISPLAY_SIZE); j++){
display(data[j]);
}
}