Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Go Back   Foros Club Delphi > Otros temas > La Taberna
Register FAQ Members List Calendar Guía de estilo Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11/06/2015
nlsgarcia's Avatar
[nlsgarcia] nlsgarcia is offline
Miembro Premium
 
Join Date: Feb 2007
Location: Caracas, Venezuela
Posts: 2,206
Poder: 23
nlsgarcia Tiene un aura espectacularnlsgarcia Tiene un aura espectacular
Aprender a programar un Arduino OnLine

Club Delphi,

Quote:
Originally Posted by UnoCero
...Los Arduinos son pequeñas computadoras, las cuales tienen puertos de entrada y salida, así como pines para conectar una variedad de componentes electrónicos...en Electronics from beginner to pro se tienen todos estos componentes de manera virtual, así como diferentes tipos de Arduino e incluso protoboards, donde se conectan los componentes cuando se hace un prototipo...


Un ejemplo básico de programación de Arduino OnLine:



PHP Code:
// Test Circuit-1 (Leds)
// 
// Made by nelson garcia
// License: GPL 3.0
// Downloaded from: https://123d.circuits.io/circuits/859172-test-circuit-1-leds

// Program Test Circuit-1 (Leds)
// Pin 1,2 and 3 has an LED connected on most Arduino boards.
int ledblue 1;
int ledgreen 2;
int ledred 3;

// the setup routine runs once when you press reset:
void setup() {
  
// initialize the digital pin as an output.
  
pinMode(ledblueOUTPUT);
  
pinMode(ledgreenOUTPUT);
  
pinMode(ledredOUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  
// turn the LED on (HIGH is the voltage level)
  
digitalWrite(ledredHIGH);
  
digitalWrite(ledgreenHIGH);   
  
digitalWrite(ledblueHIGH);   
  
delay(500);               
  
// turn the LED off by making the voltage LOW
  
digitalWrite(ledblueLOW);
  
digitalWrite(ledgreenLOW);
  
digitalWrite(ledredLOW); 
  
delay(500);               

Ver la noticia completa en : Cómo aprender a programar un Arduino en línea y de forma gratuita

Información relacionada:


Nelson.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sugerencia: De ayuda a los nuevos que aprender a programar(me incluyo) Gerson12 La Taberna 5 07/09/2012 22:14
Aprender a programar soler C++ Builder 28 09/04/2008 15:48
Soy Nuevo, y quiero aprender a programar en Delphi ramphis Varios 17 18/02/2008 04:12
quiero aprender a programar algo extra basido? sinhue Varios 6 03/07/2007 18:49
Quiero aprender a programar en Delphi KeNyZ Varios 5 21/09/2006 21:05


All times are GMT +2. The time now is 21:11.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi