Révision 502
Ajouté par albest il y a presque 4 ans
SP4b1.c | ||
---|---|---|
void init_keyboard(void);
|
||
void tpo_50ms(void);
|
||
|
||
unsigned char touche = 0;
|
||
char t;
|
||
|
||
|
||
void main(void){
|
||
|
||
pd10 = 0x0F;
|
||
char t;
|
||
unsigned char touche = 0;
|
||
pd10 = 0x0F;
|
||
pu31 = 1;
|
||
p10 = 0;
|
||
while(1)
|
||
... | ... | |
}
|
||
}
|
||
|
||
|
||
void init_keyboard(void){
|
||
pd10 = 0x0F;p10=0;pu31 = 1;
|
||
}
|
Formats disponibles : Unified diff
L'afficheur LCD affiche les touches du clavier