« Utiliser les PIC 16F et 18F/Exercices/Interruption timer0 en langage C » : différence entre les versions

m
</source>
2°)
<source lang="c">
unsigned char Display(unsigned char no) {
unsigned char Pattern;
unsigned char SEGMENT[] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};
Pattern = SEGMENT[no];
return Pattern;
}
</source>
ou encore
<source lang="c">
unsigned char Display(unsigned char no) {
10 144

modifications