Skip to content

Commit f81a19b

Browse files
committed
example updates, Arduino compatible header
1 parent 3377614 commit f81a19b

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

examples/ioLogging/ioLogging.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
*
99
* This logging is only complied in when the above define is set, if it is not set then
1010
* the logging is completely removed.
11+
*
12+
* Full documentation is here:
13+
* https://tcmenu.github.io/documentation/arduino-libraries//io-abstraction/arduino-logging-with-io-logging/
1114
*/
1215

1316
/* The logging levels are below:

examples/textUtilities/textUtilities.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* This logging is only complied in when the above define is set, if it is not set then
99
* the logging is completely removed.
1010
*
11+
* Documentation link:
12+
* https://tcmenu.github.io/documentation/arduino-libraries/io-abstraction/text-utilities-and-helpers/
13+
* https://tcmenu.github.io/documentation/arduino-libraries//io-abstraction/arduino-logging-with-io-logging/
1114
*/
1215

1316
#include <IoLogging.h>
@@ -17,7 +20,7 @@ char sz[32] = {0};
1720

1821
void setup() {
1922
// This example logs using IoLogging, see the following guide to enable
20-
// https://www.thecoderscorner.com/products/arduino-libraries/io-abstraction/arduino-logging-with-io-logging/
23+
// https://tcmenu.github.io/documentation/arduino-libraries//io-abstraction/arduino-logging-with-io-logging/
2124
IOLOG_START_SERIAL
2225

2326
// convert 102934 to 8 decimal places not padded.

src/TcMenuLog.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#ifndef TC_MENU_LOG_H
2+
#define TC_MENU_LOG_H
3+
4+
// simply include the IoLogging file, this allows the header to match the library name
5+
#include "IoLogging.h"
6+
7+
#endif //TC_MENU_LOG_H

0 commit comments

Comments
 (0)