07.1 activar número 5

Código del programa:


//HOLA SOMOS SANDRA Y QIAN YAN DE 3ºC
//mostrar info en un display de  5 segmento
// definimos pines 
#define Pin_a 3
#define Pin_d 6 
#define Pin_f 2
#define Pin_g 1
#define Pin_c 7

void setup()// Se define la función cinco
{
digitalWrite (Pin_a,HIGH);
digitalWrite(Pin_c,HIGH);
digitalWrite (Pin_d,HIGH);
digitalWrite (Pin_f , HIGH);
digitalWrite(Pin_g,HIGH);

}
void loop()
{

Fotos :



Comentarios

Entradas populares de este blog

LOS CUATRO TIEMPOS DE UN MOTOR DE EXPLOSIÓN

010 CUANDO YA NO ESTÉ : Energía y transporte con Tony Seba