For Hepta-Sat Lite

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
heptasat2021
Date:
Tue Nov 02 08:50:40 2021 +0000
Commit message:
For Hepta-Sat Lite

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Nov 02 08:50:40 2021 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX, 9600);
+AnalogIn temt6000(PA_3);
+
+int main()
+{
+  while(1)
+  {
+    float x = temt6000;    //x range 0.0 ~ 1.0
+    pc.printf("%f\r\n", x);
+    wait(0.50);
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Nov 02 08:50:40 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e1686b8d5b90
\ No newline at end of file