View
7.350
Download
1
Category
Preview:
Citation preview
Entradas y Salidas Digitales Curso Arduino
Profesores Secundaria
José Pujol IES Vicente Aleixandre
Sevilla
tecnopujol.wordpress.com @tecnopujol
Entradas y Salidas Digitales / Comunicación Serie
• So?ware que vamos a usar
• Hardware necesario
• PrácCcas
2
3
So7ware
Estructura • void setup() {} • void loop() {} Estructura Control • If / if else {} • for {} • while {} Sintaxis • ; {} //comentario /*comentario*/ Operadores Comparativos • == != < <= > >=
Variables Constantes • HIGH / LOW • INPUT/ OUTPUT Tipos de datos • int • long • array
4
So7ware
E/S Digitales • pinMode () • digitalWrite () • digitalRead () Tiempo • delay () • delayMicroseconds () • millis ()
Serial • Serial.begin () • Serial.print () • Serial.println ()
Funciones
5
Hardware
LED + Pulsador
6
Hardware
LED + Pulsador
7
Hardware
Semáforo
8
Hardware
Semáforo
9
Prác<cas
10
Prác<cas
11
Prác<cas
Entradas y Salidas Digitales Curso Arduino
Profesores Secundaria
José Pujol IES Vicente Aleixandre
Sevilla
tecnopujol.wordpress.com @tecnopujol
Recommended