Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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);
}
}
