This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"children": [{"children": [{"children": [{"children": [{"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}, {"name": "INITIATIVE DE R\u0090SURGENCE DU MOUVEMENT ABOLITIONNISTE DE FRANCE MAURITANIE"}], "name": "Pr\u0082carit\u0082 & Exclusion"}, {"children": [{"name": "RESPECT DE SOI"}, {"name": "RESPECT DE SOI"}, {"name": "RESPECT DE SOI" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define gauche IN_4 | |
#define devant IN_2 | |
#define droite IN_1 | |
#define paslibre_g (SensorUS(gauche) < 15) | |
#define paslibre_d (SensorUS(droite) < 15) | |
#define motors OUT_BC | |
#define VITESSE_ROT 75 | |
void setup(){ | |
SetSensorTouch(devant); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// On reprend le prgm de Léopard. Objectif : on reste à dix centimètres environ de la cible, qui avance et recule. | |
#define Touch IN_1 | |
#define Devant IN_4 | |
#define Motors OUT_BC | |
#define PAS 5 | |
#define PAS_RECUL 5 | |
int vitesse = 50; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// utilisation des capteurs | |
#define Port_Tactile IN_1 | |
#define Port_Telemetre IN_2 | |
#define Port_Microphone IN_3 | |
void setup() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tom fait des carrés, de plus en plus grands | |
void carre(int dist) { | |
int i; | |
for(i=0;i<4;i++){ | |
RotateMotor(OUT_BC, 75 ,360*dist); // 360degrés ~= 10cm | |
RotateMotorEx(OUT_BC,75,540,-100, true, false); // fait tourner le robot de 90degrés | |
} | |
} |