Reference.Comparison History

Hide minor edits - Show changes to output

June 02, 2010, at 02:23 PM by Equipo Traduccion -
Changed lines 4-5 from:
!!!CAdenas
to:
!!!Matrices (Array)
June 02, 2010, at 02:04 PM by Equipo Traduccion -
Changed lines 1-6 from:
!!Arduino/Processing Language Comparison

The Arduino language (based on Wiring) is implemented in C/C++, and therefore has some differences from the Processing language, which is based on Java.

!!!Arrays
to:
!!Arduino/Processing Comparación de lenguajes
El lenguaje de Arduino (basado en Wiring) está implementado en C/C++, y por tanto tiene algunas diferencias con Processing, el cual está basado en Java.

!!!CAdenas
Changed line 12 from:
(:cell bgcolor=#CCCCCC:) int foo[] = { 0, 1, 2 }; [[<<]] ''or'' [[<<]] int[] foo = { 0, 1, 2 };
to:
(:cell bgcolor=#CCCCCC:) int foo[] = { 0, 1, 2 }; [[<<]] ''o'' [[<<]] int[] foo = { 0, 1, 2 };
Changed lines 15-16 from:
!!!Loops
to:
!!!Bucles
Changed lines 24-25 from:
!!!Printing
to:
!!!Impresión
Changed lines 29-30 from:
(:cellnr:) Serial.println("hello world");
(:cell:) println("hello world");
to:
(:cellnr:) Serial.println("hola mundo");
(:cell:) println("hola mundo");
June 16, 2007, at 12:38 AM by David A. Mellis -
Changed lines 3-4 from:
The Arduino language (based on Wiring) is implemented in C, and therefore has some differences from the Processing language, which is based on Java.
to:
The Arduino language (based on Wiring) is implemented in C/C++, and therefore has some differences from the Processing language, which is based on Java.
June 16, 2007, at 12:38 AM by David A. Mellis - updating serial examples to current api
Changed line 30 from:
(:cellnr:) printString("hello world"); [[<<]] printNewline();
to:
(:cellnr:) Serial.println("hello world");
Changed line 32 from:
(:cellnr bgcolor=#999999:) int i = 5; [[<<]] printInteger(i); [[<<]] printNewline();
to:
(:cellnr bgcolor=#999999:) int i = 5; [[<<]] Serial.println(i);
Changed line 34 from:
(:cellnr:) int i = 5; [[<<]] printString("i = "); [[<<]] printInteger(i); [[<<]] printNewline();
to:
(:cellnr:) int i = 5; [[<<]] Serial.print("i = "); [[<<]] Serial.print(i); [[<<]] Serial.println();
November 04, 2006, at 07:45 PM by David A. Mellis -
Added lines 1-37:
!!Arduino/Processing Language Comparison

The Arduino language (based on Wiring) is implemented in C, and therefore has some differences from the Processing language, which is based on Java.

!!!Arrays

(:table width=75% cellspacing=0 cellpadding=5:)
(:cellnr width=50% bgcolor=#999999:) ''Arduino''
(:cell width=50% bgcolor=#CCCCCC:) ''Processing''
(:cellnr:) int bar[8]; [[<<]] bar[0] = 1;
(:cell:) int[] bar = new int[8]; [[<<]] bar[0] = 1;
(:cellnr bgcolor=#999999:) int foo[] = { 0, 1, 2 };
(:cell bgcolor=#CCCCCC:) int foo[] = { 0, 1, 2 }; [[<<]] ''or'' [[<<]] int[] foo = { 0, 1, 2 };
(:tableend:)

!!!Loops

(:table width=75% cellspacing=0 cellpadding=5:)
(:cellnr width=50% bgcolor=#999999:) ''Arduino''
(:cell width=50% bgcolor=#CCCCCC:) ''Processing''
(:cellnr:) int i; [[<<]] for (i = 0; i < 5; i++) { ... }
(:cell:) for (int i = 0; i < 5; i++) { ... }
(:tableend:)

!!!Printing

(:table width=75% cellspacing=0 cellpadding=5:)
(:cellnr width=50% bgcolor=#999999:) ''Arduino''
(:cell width=50% bgcolor=#CCCCCC:) ''Processing''
(:cellnr:) printString("hello world"); [[<<]] printNewline();
(:cell:) println("hello world");
(:cellnr bgcolor=#999999:) int i = 5; [[<<]] printInteger(i); [[<<]] printNewline();
(:cell bgcolor=#CCCCCC:) int i = 5; [[<<]] println(i);
(:cellnr:) int i = 5; [[<<]] printString("i = "); [[<<]] printInteger(i); [[<<]] printNewline();
(:cell:) int i = 5; [[<<]] println("i = " + i);
(:tableend:)

Share