This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
CONSULTA tengo un problema con el codigo de programacion de mi arduino
#1
tengo un problema y no se como solucionarlo soy nuevo usnado arduino y no encuentro el error que me dice. cuando le doy a verificar me dice "exit status 1

Error compilando para la tarjeta Arduino Uno" y no se como lo puedo solucionar. este es el codigo de programacion:
# define verde 2 // DESIGNAMOS UNA VARIABLE A LOS PINES RESPECTIVOS
# define amarillo 3
# define rojo 4
void setuo()  {
  pinMode (verde, OUTPUT); 
  pinMode (amarillo, OUTPUT);
  pinMode (rojo, OUTPUT);
}

void loop ()   {
     // ::::::::::: ROJO ::::::::::
  digitalWrite (rojo, true);
  delay (5000);
     digitalWrite (rojo, false);
   
     // ::::::::::: AMARILLO ::::::::::
  digitalWrite (amarillo, true);
  delay (5000);
      digitalWrite (amarillo, false);
      
    // ::::::::::: VERDE ::::::::::      
    digitalWrite (verde, true);
  delay (5000);
    digitalWrite (verde, false);   
}
  Responder
#2
Hola, es sencillo , has escrito:
void setuo() {

Debes escribir:
void setup() {

setuo ->setup y ya compila
Saludos
  Responder
#3
que genial me encanta este tma lo usaré para algunos Disfraces
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  Programación para SEO cmeco 2 1,279 25-11-2020, 09:10 PM
Último mensaje: merlonmi
  2 DHT y 3 relés (ayuda con código) jgarridc 2 1,079 23-10-2019, 11:23 AM
Último mensaje: jgarridc
  Fusionar dos sketch en uno (código arduino) jgarridc 22 10,986 31-12-2018, 07:37 PM
Último mensaje: Surbyte
Pregunta [SOL] Tengo dos URL's en el mismo servidor en wordpress como redirigir de uno a otro Electromecánico 5 2,101 02-03-2018, 12:04 PM
Último mensaje: Electromecánico
  Qué distro Linux me recomendáis para programación? Lord Bergidum 7 3,480 27-05-2014, 02:34 PM
Último mensaje: jose_