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.
Diff: logger.cpp
- Revision:
- 2:9d04753a3ad2
- Parent:
- 1:8837abc3f763
- Child:
- 3:e1ed8ae7691e
--- a/logger.cpp Sat Mar 29 10:39:24 2014 +0000
+++ b/logger.cpp Mon Sep 08 20:40:27 2014 +0000
@@ -2,9 +2,19 @@
#include "logger.h"
#include "errno.h"
-/** @file logger.cpp */
+/**
+ * @defgroup logger_lib Logger library
+ * @{
+ * @author Crt Lukancic Mori (crt@tech-review.net)
+ * @short Logging library provides more standard re-routing of output.
+ * @details While data logger needs an input to define where it output should go, we
+ * could also override the output using a global variable, which would be read
+ * before the entry into plc switch to override the local output request.
+ *
+ */
-Serial logSerial(PA_2, PA_3);
+//Serial logSerial(PA_2, PA_3);
+Serial logSerial(PA_9, PA_10);
char endline[]="\r\n";
/**
@@ -165,4 +175,7 @@
stash_buffer[i]=0;
}
return 1;
-}
\ No newline at end of file
+}
+/**
+ * @}
+ */
\ No newline at end of file