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: mAIn_0.cpp
- Revision:
- 0:f0bb7332032f
diff -r 000000000000 -r f0bb7332032f mAIn_0.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mAIn_0.cpp Thu Nov 15 18:04:45 2018 +0000
@@ -0,0 +1,14 @@
+/*#include "mbed.h"
+
+AnalogIn aiPoti1(p19);
+
+int main() {
+ printf("Werte von Poti 1:\r\n");
+ while(1) {
+ printf("\r\nPoti 1 Float-Wert zw. 0.0 und 1.0 = %f\r\n", aiPoti1.read());
+ printf("Spannung am Poti 1 = : %f V\r\n", aiPoti1.read()*3.3);
+ printf("Rohwert am Poti 1 = : %d V\r\n", aiPoti1.read_u16());
+ wait_ms(500);
+ }
+}
+*/
\ No newline at end of file