December 07, 2012, at 11:02 PM by Scott Fitzgerald -
Changed lines 11-12 from:
to:
December 04, 2012, at 06:46 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Read the analog value of the linear potentiometer. It returns a valure in the range from 0 to 1023.
to:
Reads the value from the linear potentiometer as a 10-bit number. This means that it will map input voltages between 0 and 5 volts into integer values between 0 and 1023. This yields a resolution between readings of: 5 volts / 1024 units or, .0049 volts (4.9 mV) per unit.
Changed lines 19-20 from:
int : The linear potentiometer position in the range from 0 to 1023.
to:
int : The linear potentiometer's position, mapped to a value between 0 and 1023.
December 04, 2012, at 06:41 PM by Scott Fitzgerald -
Changed line 28 from:
Serial.begin(9600);
to:
Serial.begin(9600);
Changed line 30 from:
to:
Changed lines 33-37 from:
Serial.println(value);

delay(1000);
}
to:
Serial.println(value);

delay(1000);
}
December 04, 2012, at 06:41 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Read the analog value of the linear potentiometer. It return a valure in the range from 0 to 1023.
to:
Read the analog value of the linear potentiometer. It returns a valure in the range from 0 to 1023.
Changed lines 19-21 from:
The linear potentiometer position in the range from 0 to 1023.

to:
int : The linear potentiometer position in the range from 0 to 1023.
Changed lines 23-25 from:
[@
to:
(:source lang=arduino tabwidth=4:)
#include <Esplora.h>
Changed line 38 from:
@]
to:
(:sourceend:)
December 03, 2012, at 04:12 PM by Federico -
[[EsploraLibrary | Esplora]]

!!!!Description

Read the analog value of the linear potentiometer. It return a valure in the range from 0 to 1023.

!!!!Syntax

!!!!Parameters

none

!!!!Returns

The linear potentiometer position in the range from 0 to 1023.

!!!!Example

[@
void setup()
{
Serial.begin(9600);
}

void loop()
{