Reference.Assignment History

April 13, 2014, at 10:32 AM by Scott Fitzgerald -
Changed lines 10-11 from:
``` senVal = analogRead(0); @]      // store the (digitized) input voltage at analog pin 0 in SensVal
```
to:
``` sensVal = analogRead(0); @]      // store the (digitized) input voltage at analog pin 0 in SensVal
```
September 15, 2008, at 02:30 AM by Paul Badger -
September 08, 2008, at 09:28 PM by Paul Badger -
Changed lines 10-11 from:

senVal = analogRead(0); @] // store the (digitized) input voltage at analog pin 0 in SensVal

to:
``` senVal = analogRead(0); @]      // store the (digitized) input voltage at analog pin 0 in SensVal
```
September 08, 2008, at 09:28 PM by Paul Badger -
Changed lines 15-16 from:

Don't confuse the assignment operator [ = ] (single equal sign) with the comparison operator [ == ] (double equal signs) that evaluates whether two expressions are equal.

to:

Don't confuse the assignment operator [ = ] (single equal sign) with the comparison operator [ == ] (double equal signs), which evaluates whether two expressions are equal.

September 06, 2008, at 07:20 PM by Paul Badger -
Changed line 19 from:
to:
September 06, 2008, at 07:12 PM by Paul Badger -
Changed lines 19-22 from:
to:
September 06, 2008, at 07:10 PM by Paul Badger -
September 06, 2008, at 06:49 PM by Paul Badger -
Changed lines 10-11 from:

senVal = analogRead(0); @] // store the input voltage at analog pin 0 in SensVal

to:

senVal = analogRead(0); @] // store the (digitized) input voltage at analog pin 0 in SensVal

September 06, 2008, at 06:48 PM by Paul Badger -
Changed lines 1-2 from:

to:

= assignment operator (single equal sign)

Changed line 9 from:

[@ int sensVal; // declare an integer variable named sensVal

to:

[@ int sensVal; // declare an integer variable named sensVal

September 06, 2008, at 02:37 AM by Paul Badger -
September 06, 2008, at 02:37 AM by Paul Badger -
Changed line 19 from:
to:
September 06, 2008, at 02:36 AM by Paul Badger -
Changed line 19 from:

if Comparison Operators

to:
September 06, 2008, at 02:36 AM by Paul Badger -

if Comparison Operators

September 06, 2008, at 02:31 AM by Paul Badger -
Changed lines 15-16 from:

Don't confuse the assignment operator ( = ) with the

to:

Don't confuse the assignment operator [ = ] (single equal sign) with the comparison operator [ == ] (double equal signs) that evaluates whether two expressions are equal.

September 06, 2008, at 02:28 AM by Paul Badger -
Changed lines 1-6 from:

= (Assignment Operator)

Assign value to the right of the equal sign to the variable to the left of the equal sign.

The single equal sign in the C programming language is called the assignment operator. It has a different meaning than in algebra class where it indicated an equation or equality. The assignment operator tells the atmega chip to evaluate whatever value or expression is on the right side of the equal sign, and store it in the variable to the left of the equal sign.

to:

= Assignment Operator (single equal sign)

Stores the value to the right of the equal sign in the variable to the left of the equal sign.

The single equal sign in the C programming language is called the assignment operator. It has a different meaning than in algebra class where it indicated an equation or equality. The assignment operator tells the microcontroller to evaluate whatever value or expression is on the right side of the equal sign, and store it in the variable to the left of the equal sign.

Changed lines 9-11 from:
``` int sensVal;
to:
``` int sensVal;                             // declare an integer variable named sensVal
// store the input voltage at analog pin 0 in SensVal
September 06, 2008, at 02:24 AM by Paul Badger -
September 06, 2008, at 02:21 AM by Paul Badger -

= (Assignment Operator)

Assign value to the right of the equal sign to the variable to the left of the equal sign.

The single equal sign in the C programming language is called the assignment operator. It has a different meaning than in algebra class where it indicated an equation or equality. The assignment operator tells the atmega chip to evaluate whatever value or expression is on the right side of the equal sign, and store it in the variable to the left of the equal sign.

Example

``` int sensVal;