NUCLEO-F042K6 Simple demo blinking LED using waits

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vodsejak
Date:
Wed Jan 31 20:26:49 2018 +0000
Parent:
2:fd849f6babbb
Commit message:
v2.0; added commentary;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 31 19:57:42 2018 +0000
+++ b/main.cpp	Wed Jan 31 20:26:49 2018 +0000
@@ -1,6 +1,14 @@
 #include "mbed.h" // import of mbed library (required)
 
-DigitalOut LED(LED1);
+/*******************************************************************************
+
+  EXAMPLE DESCRIPTION
+
+  Simple example which periodically turns LED on board ON/OFF using SW solution.
+  
+*******************************************************************************/
+
+DigitalOut LED(LED1); // definition of digital out pin
 
 int main()
 {