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.
Revision 0:eec6d163f913, committed 2022-04-17
- Comitter:
- osw
- Date:
- Sun Apr 17 14:05:46 2022 +0000
- Commit message:
- 1st commit
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 Sun Apr 17 14:05:46 2022 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"//nucleo
+
+AnalogIn joyx(A0);
+AnalogIn joyy(A1);
+Serial pc(USBTX,USBRX);
+
+int main() {
+
+ int x,y;
+
+ while(1) {
+ x=joyx*100;
+ y=joyy*100;
+ pc.printf("%d,%d\r\n",x,y);
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Apr 17 14:05:46 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/e7ca05fa8600 \ No newline at end of file