| 
View
 

Estructura de un programa Arduino

Page history last edited by Samuel Landete 16 years, 2 months ago

 

//LIBRERÍAS A INCLUIR

#include <AFMotor.h>           // En los programas del ArduinoBot

                               // siempre tendremos que usar AFMotor.h  

 

//DEFINICIÓN DE VARIABLES

int x;                         // Por ejemplo

 

void setup() {

// CONDICIONES INICIALES

}

 

void loop() {

// EL RESTO DEL PROGRAMA

}

 

Comments (0)

You don't have permission to comment on this page.