Tutorial.BareMinimum History

Hide minor edits - Show changes to output

May 02, 2012, at 03:34 AM by Scott Fitzgerald -
Changed line 32 from:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
to:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/01.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
November 16, 2011, at 12:21 AM by Scott Fitzgerald -
Changed line 32 from:
(:source http://arduino.cc/en/pub/code/Master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
to:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
November 16, 2011, at 12:20 AM by Scott Fitzgerald -
Changed line 32 from:
(:source http://arduino.cc/en/pub/code/new-extension/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
to:
(:source http://arduino.cc/en/pub/code/Master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
September 30, 2011, at 02:54 AM by Scott Fitzgerald - Changed the code Example
Changed line 32 from:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.pde lang=arduino tabwidth=4:)
to:
(:source http://arduino.cc/en/pub/code/new-extension/build/shared/examples/1.Basics/BareMinimum/BareMinimum.ino lang=arduino tabwidth=4:)
September 23, 2010, at 08:31 PM by Christian Cerrito -
Added line 14:
Only your Arduino Board is needed for this example.
Deleted line 17:
Only your Arduino Board is needed for this example.
Deleted line 20:
September 17, 2010, at 05:08 PM by Tom Igoe -
Added lines 38-40:
* [[Reference/setup() | @@setup()@@ reference]]
* [[Reference/loop() | @@loop()@@ reference]]
September 17, 2010, at 05:07 PM by Tom Igoe -
Changed lines 38-48 from:
* [[Reference/setup() | @@setup()@@ reference]]
* [[Reference/loop() | @@loop()@@ reference]]

* [[Blink]] - turn an LED on and off.
* [[DigitalReadSerial]] - read a switch, print the state out to the Serial Monitor
* [[AnalogReadSerial]] - read a potentiometer, print the state out to the Serial Monitor
* [[Fade]] - demonstrates the use of analog output to fade an LED



to:
(:include BasicsSeeAlsoIncludes :)


August 27, 2010, at 05:59 AM by Christian Cerrito -
Added lines 15-16:
[-image developed using [[http://www.fritzing.org |Fritzing]]. For more circuit examples, see the [[http://fritzing.org/projects/|Fritzing project page]] -]
August 27, 2010, at 05:50 AM by Christian Cerrito -
Changed line 14 from:
%height=300px%[[Attach:Arduino_bb.png | Attach:Arduino_bb.png]]
to:
%height=250px%[[Attach:Arduino_bb.png | Attach:Arduino_bb.png]]
August 27, 2010, at 05:50 AM by Christian Cerrito -
August 27, 2010, at 05:50 AM by Christian Cerrito -
August 24, 2010, at 07:49 AM by Christian Cerrito -
Added line 38:
August 24, 2010, at 07:46 AM by Christian Cerrito -
Changed lines 38-45 from:
* [[Blink]]
* [[DigitalReadSerial]]
* [[AnalogReadSerial]]
* [[Fade]]



to:
* [[Blink]] - turn an LED on and off.
* [[DigitalReadSerial]] - read a switch, print the state out to the Serial Monitor
* [[AnalogReadSerial]] - read a potentiometer, print the state out to the Serial Monitor
* [[Fade]] - demonstrates the use of analog output to fade an LED



August 24, 2010, at 07:15 AM by Christian Cerrito -
Added lines 38-45:
* [[Blink]]
* [[DigitalReadSerial]]
* [[AnalogReadSerial]]
* [[Fade]]



August 20, 2010, at 10:28 PM by Christian Cerrito -
Changed lines 28-29 from:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting your code like this is particularly helpful in explaining, both to yourself and others, how your program functions step by step.
to:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting your code like this can be particularly helpful in explaining, both to yourself and others, how your program functions step by step.
August 20, 2010, at 10:27 PM by Christian Cerrito -
Changed lines 7-14 from:
The @@setup()@@ function is called when a sketch starts. Use it to initialize variables, pin modes, start using libraries, etc. The setup function will only run once, after each powerup or reset of the Arduino board.

After creating a @@setup()@@ function, the @@loop()@@ function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond as it runs. Code in the @@loop()@@ section of your sketch is used to actively control the Arduino board.

The code below won't actually do anything, but it's structure is useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code.

Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting your code like this is particularly helpful in explaining, both to yourself and others, how your program functions step by step.
to:
Added lines 21-29:

The @@setup()@@ function is called when a sketch starts. Use it to initialize variables, pin modes, start using libraries, etc. The setup function will only run once, after each powerup or reset of the Arduino board.

After creating a @@setup()@@ function, the @@loop()@@ function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond as it runs. Code in the @@loop()@@ section of your sketch is used to actively control the Arduino board.

The code below won't actually do anything, but it's structure is useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code.

Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting your code like this is particularly helpful in explaining, both to yourself and others, how your program functions step by step.
August 20, 2010, at 10:26 PM by Christian Cerrito -
Changed line 27 from:
'''Code''
to:
!!!Code
August 20, 2010, at 10:25 PM by Christian Cerrito -
Changed line 22 from:
None
to:
Only your Arduino Board is needed for this example.
Added lines 25-27:


'''Code''
August 20, 2010, at 10:24 PM by Christian Cerrito -
Changed lines 13-14 from:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
to:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting your code like this is particularly helpful in explaining, both to yourself and others, how your program functions step by step.
August 20, 2010, at 10:22 PM by Christian Cerrito -
Changed line 21 from:
%height=300px%[[Attach:ExampleCircuit_bb.png | Attach:ExampleCircuit_bb.png]]
to:
%height=300px%[[Attach:Arduino_bb.png | Attach:Arduino_bb.png]]
August 20, 2010, at 10:21 PM by Christian Cerrito -
Added line 21:
%height=300px%[[Attach:ExampleCircuit_bb.png | Attach:ExampleCircuit_bb.png]]
August 17, 2010, at 10:37 PM by Christian Cerrito -
Changed lines 13-14 from:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
to:
Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
August 17, 2010, at 10:36 PM by Christian Cerrito -
Changed lines 9-12 from:
After creating a @@setup()@@ function, which initializes and sets the initial values, the @@loop()@@ function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board.

The code below won't actually do anything, but it's useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
to:
After creating a @@setup()@@ function, the @@loop()@@ function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond as it runs. Code in the @@loop()@@ section of your sketch is used to actively control the Arduino board.

The code below won't actually do anything, but it's structure is useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code.

Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
Changed lines 30-31 from:
* [[Reference/CommandName | Reference page for this command]]
* [[Other example in this category]]
to:
* [[Reference/setup() | @@setup()@@ reference]]
* [[Reference/loop() | @@loop()@@ reference]]
August 17, 2010, at 10:29 PM by Christian Cerrito -
August 17, 2010, at 10:28 PM by Christian Cerrito -
Changed lines 11-12 from:
The code below won't actually do anything, but it's useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it,
to:
The code below won't actually do anything, but it's useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Commenting is particularly helpful in explaining, both to yourself and others, how your code functions step by step.
August 17, 2010, at 10:26 PM by Christian Cerrito -
Changed lines 5-8 from:
This example contains the bare minimum of code you need for an Arduino sketch to compile: the@@setup()@@ method and the @@loop()@@ method.

This sketch won't actually do anything, but it's useful for copying and pasting to get you started on any sketch. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it.
to:
This example contains the bare minimum of code you need for an Arduino sketch to compile: the @@setup()@@ method and the @@loop()@@ method.

The @@setup()@@ function is called when a sketch starts. Use it to initialize variables, pin modes, start using libraries, etc. The setup function will only run once, after each powerup or reset of the Arduino board.

After creating a @@setup()@@ function, which initializes and sets the initial values, the @@loop()@@ function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board.

The code below won't actually do anything, but it's useful for copying and pasting to get you started on any sketch of your own. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it,
August 15, 2010, at 08:11 PM by Tom Igoe -
Changed lines 3-4 from:
!!!Example Name
to:
!!!Bare Minimum code needed to get started
August 15, 2010, at 08:10 PM by Tom Igoe -
Changed lines 7-8 from:
This sketch won't actually do anything, but it's useful for copying and pasting to get you started on any sketch.
to:
This sketch won't actually do anything, but it's useful for copying and pasting to get you started on any sketch. It also shows you how to make comments in your code. Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it.
August 15, 2010, at 08:09 PM by Tom Igoe -
Changed lines 5-6 from:
Description
to:
This example contains the bare minimum of code you need for an Arduino sketch to compile: the@@setup()@@ method and the @@loop()@@ method.

This sketch won't actually do anything, but it's useful for copying and pasting to get you started on any sketch.
Changed lines 15-20 from:
(:div class=circuit :)

%height=300px%[[Attach:ExampleCircuit_bb.png | Attach:ExampleCircuit_bb.png]]

[-image developed using [[http://www.fritzing.org |Fritzing]]. For more circuit examples, see the [[http://fritzing.org/projects/|Fritzing project page]] -]
to:
None
Changed lines 18-20 from:
!!!Schematic
(:div class=circuit :)
%height=300px%[[ Attach:ExampleCircuit_sch.png | Attach:ExampleCircuit_sch.png]]
to:
(:div class=code :)
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.pde lang=arduino tabwidth=4:)
Changed lines 22-28 from:
Describe what's going on here

(:div class=code :)
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.pde lang=arduino tabwidth=4:)
(:divend:)

to:
August 13, 2010, at 10:22 PM by Tom Igoe -
Added lines 1-35:
''Examples > Basics''

!!!Example Name

Description

(:div class=BOM :)
!!!Hardware Required
* Arduino Board
(:divend:)

!!!Circuit
(:div class=circuit :)

%height=300px%[[Attach:ExampleCircuit_bb.png | Attach:ExampleCircuit_bb.png]]

[-image developed using [[http://www.fritzing.org |Fritzing]]. For more circuit examples, see the [[http://fritzing.org/projects/|Fritzing project page]] -]

(:divend:)

!!!Schematic
(:div class=circuit :)
%height=300px%[[ Attach:ExampleCircuit_sch.png | Attach:ExampleCircuit_sch.png]]
(:divend:)

Describe what's going on here

(:div class=code :)
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/1.Basics/BareMinimum/BareMinimum.pde lang=arduino tabwidth=4:)
(:divend:)


!!!See Also:
* [[Reference/CommandName | Reference page for this command]]
* [[Other example in this category]]

Share