Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mainAI-AO.cpp
- Revision:
- 0:f0bb7332032f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mainAI-AO.cpp Thu Nov 15 18:04:45 2018 +0000
@@ -0,0 +1,16 @@
+/*#include "mbed.h"
+
+AnalogOut Aout(p18);
+AnalogIn pot1(p19);
+
+int main()
+{
+ while(1) {
+ for(float i=0.0; i<1.0; i+=0.1) {
+ Aout = i;
+ wait(0.00001+(0.0001*pot1.read()));
+ }
+ }
+}
+
+*/
\ No newline at end of file