Romain Ame
/
Timer71pt
Fork de Timer après le match à 61 points
Fork of Timer by
couleur.cpp
- Committer:
- IceTeam
- Date:
- 2016-05-06
- Revision:
- 84:b54822c913b0
- Parent:
- 83:714fa414b2bf
File content as of revision 84:b54822c913b0:
#include "entete.h" void changeCamp(void) { if(SCouleur==VERT) { SCouleur = VIOLET; LEDR = 1; LEDV = 0; } else if (SCouleur == VIOLET) { SCouleur = NOIR; LEDV = 0; LEDR = 0; } else { SCouleur = VERT; LEDV = 1; LEDR = 0; } } void depart(void) { while (start == 0) { if(CAMP==0) { changeCamp(); } wait_ms(100); } }