analogReference(type)

Description

For Arduino, this function is used to configure the reference voltage used for analog input. But for 86Duino, this function is not supported and thus does nothing when called. (This function is reserved by 86Duino for the compatibility to Arduino sketches.)

Parameters

type: which type of reference to use (DEFAULT, INTERNAL, INTERNAL1V1, INTERNAL2V56, or EXTERNAL). These parameters take effects on Arduino but no effect on 86Duino.

Returns

None

See also

Description of the analog input pins
analogRead()


Language Reference Home

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.