boardSetAOResolution (Function) |
Top Previous Next |
The analog output logic can work at multiple resolutions to fit different needs. The default resolution is 10 bit. When increasing the resolution from 10 to 12 bit, the range of the analog output values change from 0..1023 to 0..4095.
Input: res : int (10,12) Selects the resolution for the analog output. Returns: INT
Declaration: FUNCTION boardSetAOResolution : INT;
Example: INCLUDE rtcu.inc |