Je voudrai savoir comment on peut par exemple via un outils de type thread ou timer ! detecter la presence d'un materiel
Le materiel repond a une demande de presence !
donc mon probleme vient du fait que je ne vois pas comment implementé la chose !
explication:
SI A=0
ATTENTE PRESENCE CLEF: boucle infini (timer ou thread)
PRESENCE CLEF A=A+1
FAIRE TRAITEMENT
VERIFIER PRESENCE CLEF
SI PRESENT = ARRETER THREAD
SI nON PRESENT (cas de debranchement) A=0
ET on recommence le tout !
********The EaTo By NiChaN*********