Dependencies:   mbed

Use

The AnalogOut API is used to convert a digital number to an analog value. The output value is set as a percentage of the supply voltage. The percentage is specified as a floating point number between 0 to 1. This example demonstrates a ramp from 0 to 1 in 10% increments.

Note

Not all boards support analog output. The board must have a Digital to Analog Converter (DAC) to use the API. The compiler will throw a warning if the AnalogOut API is not available for a target board. Alternatively the target platform will list its components on the Platforms page.

API

API reference.

Import librarymbed

No documentation found.
Revision:
0:f739c4adb6ed
Child:
1:082c8dbf298a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Feb 22 13:22:54 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/3d0ef94e36ec
\ No newline at end of file