⚲
Projeto
Geral
Perfil
Entrar
Cadastre-se
Página inicial
Projetos
Ajuda
Busca
:
TD Efísio e Hugo
Todos os projetos
TD Efísio e Hugo
Visão geral
Atividade
Planejamento
Tarefas
Tempo gasto
Gantt
Calendário
Notícias
Documentos
Wiki
Arquivos
Baixar (1,04 KB)
Pisca Pisca simples2
» Pisca_Pisca_simples.ino
Gustavo Claudio Karl Couto
, 13/03/2017 19:10 h
void
setup
()
{
// put your setup code here, to run once:
pinMode
(
9
,
OUTPUT
);
pinMode
(
10
,
OUTPUT
);
pinMode
(
11
,
OUTPUT
);
pinMode
(
12
,
OUTPUT
);
}
void
loop
()
{
int
numero
;
numero
=
500
;
digitalWrite
(
12
,
HIGH
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
HIGH
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
HIGH
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
HIGH
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
HIGH
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
HIGH
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
digitalWrite
(
12
,
LOW
);
digitalWrite
(
11
,
HIGH
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
digitalWrite
(
12
,
HIGH
);
digitalWrite
(
11
,
LOW
);
digitalWrite
(
9
,
LOW
);
digitalWrite
(
10
,
LOW
);
delay
(
numero
);
}
« Anterior
1
2
Próximo »
(1-1/2)
Carregando...