Difference between revisions of "Stage PEIP"

From air
Jump to navigation Jump to search
Line 49: Line 49:
   
 
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31
 
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31
  +
  +
#include <LiquidCrystal.h> // include the library code:
  +
LiquidCrystal lcd(5, 4, 3, 2, 1, 0); // initialize the library with the numbers of the interface pins
  +
  +
void setup() {
  +
pinMode(7, OUTPUT);
  +
digitalWrite(7, HIGH); // set the LED on
  +
lcd.begin(16, 2); // set up the LCD's number of rows and columns:
  +
  +
}
  +
  +
void loop() {
  +
lcd.setCursor(0, 0);
  +
// Regla ("1......8......16")
  +
lcd.print("Saludos a todos ");// Print a message to the LCD.
  +
lcd.setCursor(0, 1);
  +
lcd.print("del Newbie: Heke");// Print a message to the LCD.
  +
}

Revision as of 09:40, 12 May 2011

Boite à idées pour le stage PEIP

Projets Processing + Arduino

Jeu de la vie (conway) interactif

Nunchuk Manette pour deplacement entre cellule A => tue B => crée

Projets Arduino seul

==

Nunchuck + servomoteur

Mailbox

  1. iMailbox (Didier Donsez)


PS2

Matériel

Lien

Commande

LOGIN username:password
TWIT Top mon stage PEIP

Nokia

LCD EL 1602A

#include <LiquidCrystal.h> // include the library code:
LiquidCrystal lcd(5, 4, 3, 2, 1, 0); // initialize the library with the numbers of the interface pins
void setup() {
  pinMode(7, OUTPUT);  
  digitalWrite(7, HIGH);  // set the LED on  
  lcd.begin(16, 2);	 // set up the LCD's number of rows and columns:
}
void loop() {
   lcd.setCursor(0, 0);
   // Regla ("1......8......16")
   lcd.print("Saludos a todos ");// Print a message to the LCD.
   lcd.setCursor(0, 1);
   lcd.print("del Newbie: Heke");// Print a message to the LCD.  
}