// Programme de test du module "Robot 2015" // PYR 2015/05/08 // Leds rouge et verte (compatible Launchpad) #define bLed1 0 // P1.0, actif à 1 #define bLed2 6 // P1.6, actif à 1 #define Led1On P1OUT|= (1<>1; // bit suivant } for (i=0; i<8; i++){ if (valVert & (1<<7)) { HC595Out &=~(1<< bHC595Data); } else { HC595Out |= (1<< bHC595Data); } HC595Out |= (1<