Skip to content

Commit 4081de2

Browse files
committed
Adding a basic example
1 parent 1ecc7f7 commit 4081de2

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../src/ArduinoDebugUtils.cpp
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../src/ArduinoDebugUtils.h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include "ArduinoDebugUtils.h"
2+
3+
void setup() {
4+
5+
Serial.begin(9600);
6+
7+
ArduinoDebugUtils.timestampOn();
8+
}
9+
10+
int i = 0;
11+
12+
void loop() {
13+
14+
ArduinoDebugUtils.debugPrint(DebugLevel::Info, "i = %d", i);
15+
i++;
16+
delay(1000);
17+
}

0 commit comments

Comments
 (0)