Projet

Général

Profil

« Précédent | Suivant » 

Révision 560

Ajouté par Hugo DUBOIS il y a presque 4 ans

Fin TP 1b (reste a finir le programme en boucle)

Voir les différences:

SP4b1.c
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
/***********************************************************************/
void main(void)
{
}
#include "sfr32c87.h"
char t;
void main(void){
pd10 = 0xF0;
p10 = 0xFF;
pu30 = 1;
t = p10;
p10 = 0x00;
while(1){
p10 = 0x0F;
t = p10;
if (t!= 0x0F);{
p10 = 0xEF;
t = p10;
if (t!= 0xF0);{
p10 = 0xEF;
t = p10;
}
}

Formats disponibles : Unified diff