Analog Output
Page last updated
05 Jun 2012, by
HM Yoong.
0
replies
Example 1
#include "mbed.h"
AnalogOut signal(p18);
int main() {
while (1) {
while (1)
for (float i = 0.0; i<1.0; i+=0.1) {
signal = i;
wait(0.1);
}
}
}
Please log in to post comments.