Projet

Général

Profil

« Précédent | Suivant » 

Révision 596

Ajouté par frkanaan il y a presque 4 ans

I progressed in the keyboard detection algorithm

Voir les différences:

branch/KANAAN/sp4b1/SP4b1/SP4b1.c
p10=0x00;
while(1)
{
p10=0x0F
t=p10;
if(t!=0x0F)
{
p10=0xBF;
t=p10;
if(t==0xB7)
touche='1';
if(t==0xBB)
touche='4';
if(t==0xBD)
touche='7';
if(t==0xBE)
touche='*';
p10=0xDF;
t=p10;
if(t==0xD7)
touche='2';
if(t==0xDB)
touche='4';
if(t==0xDD)
touche='8';
if(t==0xDE)
touche='0';
p10=0xEF;
t=p10;
if(t=)
{
}
if(t==0xE7)
touche='3';
if(t==0xEB)
touche='6';
if(t==0xED)
touche='9';
if(t==0xEE)
touche='#';
}
}
}

Formats disponibles : Unified diff