lab3_1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
shih775007
Date:
Sun Feb 26 08:48:27 2017 +0000
Commit message:
lab3_1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 5a21aeec6be8 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Feb 26 08:48:27 2017 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+
+AnalogOut Aout(DAC0_OUT);
+AnalogIn Ain(A0);
+int main(){
+    while(1){
+        Aout = Ain;
+    }
+}
diff -r 000000000000 -r 5a21aeec6be8 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Feb 26 08:48:27 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/2241e3a39974
\ No newline at end of file