This is the blinky program with serial communication

Dependencies:   SEGGER_RTT

Files at this revision

API Documentation at this revision

Comitter:
ppcc
Date:
Thu Oct 15 15:39:07 2020 +0000
Commit message:
test

Changed in this revision

SEGGER_RTT.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp 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
mbed_coragem.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SEGGER_RTT.lib	Thu Oct 15 15:39:07 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/anyThing-Connected/code/SEGGER_RTT/#7dcd871d726b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 15 15:39:07 2020 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+DigitalOut led1 ( P1_13 ) ;
+int main () {
+    led1 = 0;
+    int counter = 0;
+    
+    
+    while ( true ) {
+        led1 =! led1 ;
+        counter = counter + 1;
+        wait_ms (2000) ;
+        printf("PQP %d\n", counter);
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_app.json	Thu Oct 15 15:39:07 2020 +0000
@@ -0,0 +1,15 @@
+{
+    "target_overrides" : {
+        "NRF52840_DK" : {
+            "platform.stdio-baud-rate" : 9600 ,
+            "platform.default-serial-baud-rate" : 9600,
+            "platform.stdio-convert-newlines": true,
+            "target.features_add" : ["BLE"] ,
+            "target.extra_labels_add" : [ "CORDIO" , "CORDIO_LL" , "SOFTDEVICE_NONE", "NORDIC_CORDIO" ],
+            "target.extra_labels_remove" : [ "SOFTDEVICE_COMMON" , "SOFTDEVICE_S140_FULL5" , "NORDIC_SOFTDEVICE" ] ,
+            "target.lf_clock_src" : "NRF_LF_SRC_RC" ,
+            "target.lf_clock_rc_calib_timer_interval" : 16 ,
+            "target.lf_clock_rc_calib_mode_config" : 2
+        }
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_coragem.lib	Thu Oct 15 15:39:07 2020 +0000
@@ -0,0 +1,1 @@
+https://github.com/leiachewbacca/mbed_coragem/#3ae8d40219ff7dc768c9f2f7c6e64d98ad32d989