Skip to content
Ken Sharp edited this page Dec 8, 2023 · 1 revision

analogSetRef()

Set the analog to digital conversion reference voltage.

Syntax

AnalogSetRef(unsigned char mode, unsigned long voltage);

mode
The analog reference mode:

  • 0 - Default
  • 1 - Internal
  • 2 - External

voltage
The desired analog reference voltage in micro volts.

Returns

int status

Related Links

Clone this wiki locally