SNE S1/S2 prime / Mbed OS NUCLEO_446RE_polling

Files at this revision

API Documentation at this revision

Comitter:
gr91
Date:
Sun Nov 01 16:29:35 2020 +0000
Parent:
0:d4d44e16e7af
Child:
2:b361071cc219
Commit message:
Version 1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 29 16:45:27 2020 +0000
+++ b/main.cpp	Sun Nov 01 16:29:35 2020 +0000
@@ -7,9 +7,9 @@
 //
 #define TEMPO1 0.5
 #define TEMPO2 0.1
-Serial pc(USBTX, USBRX);
-DigitalOut ledr(PB_4);  //LED_red
-DigitalIn DOWN(PB_0);  //joystick down
+Serial pc(USBTX, USBRX);  // Nucleo RX : PA_2 ; TX : PA_3
+DigitalOut ledr(PB_4);  //LED_red  Arduino D5
+DigitalIn DOWN(PB_0);  //joystick down  Arduino A3
 
 int main()
 {
--- a/mbed-os.lib	Thu Oct 29 16:45:27 2020 +0000
+++ b/mbed-os.lib	Sun Nov 01 16:29:35 2020 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#8ef0a435b2356f8159dea8e427b2935d177309f8
+https://github.com/ARMmbed/mbed-os/#cf4f12a123c05fcae83fc56d76442015cb8a39e9
--- a/mbed_app.json	Thu Oct 29 16:45:27 2020 +0000
+++ b/mbed_app.json	Sun Nov 01 16:29:35 2020 +0000
@@ -1,7 +1,3 @@
 {
-    "requires": ["bare-metal"],
-    "target_overrides": {
-      "*": {     
-      }
-    }
+    "requires": ["bare-metal"]
 }
\ No newline at end of file