Gbox
4.20
Grow box automation and monitoring - <a href='https://sites.google.com/site/growboxguy/'>https://sites.google.com/site/growboxguy/</a>
Loading...
Searching...
No Matches
SerialLog.cpp
Go to the documentation of this file.
1
#include "
SerialLog.h
"
2
4
5
void
logToSerials
(
const
__FlashStringHelper *ToPrint,
bool
BreakLine,
byte
Indent)
6
{
7
while
(Indent > 0)
8
{
9
ArduinoSerial
.print(F(
" "
));
10
Indent--;
11
}
12
if
(BreakLine)
13
{
14
ArduinoSerial
.println(ToPrint);
15
}
16
else
17
{
18
ArduinoSerial
.print(ToPrint);
19
}
20
}
logToSerials
void logToSerials(const __FlashStringHelper *ToPrint, bool BreakLine, uint8_t Indent)
< Logging
Definition
SerialLog.cpp:5
ArduinoSerial
HardwareSerial & ArduinoSerial
Reference to the Arduino Serial output : Mega 2560 Rev3 Serial:0(RX) 1(TX) also showed on USB,...
Definition
Gbox420_Mega_Main.ino:33
SerialLog.h
Gbox420_Nano_Hempy
SerialLog.cpp
Generated by
1.9.8