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
5void 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}
void logToSerials(const __FlashStringHelper *ToPrint, bool BreakLine, uint8_t Indent)
< Logging
Definition SerialLog.cpp:5
HardwareSerial & ArduinoSerial
Reference to the Arduino Serial output : Mega 2560 Rev3 Serial:0(RX) 1(TX) also showed on USB,...