diff --git a/Arduino_Libs/Arduino-logging-library-master/LICENCSE b/Arduino_Libs/Arduino-logging-library-master/LICENCSE new file mode 100644 index 0000000..69c7374 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/LICENCSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015, LunaX + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/Arduino_Libs/Arduino-logging-library-master/Logging.cpp b/Arduino_Libs/Arduino-logging-library-master/Logging.cpp new file mode 100644 index 0000000..aede239 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/Logging.cpp @@ -0,0 +1,125 @@ +#include "Logging.h" + +void Logging::Init(int level, long baud){ + _level = constrain(level,LOG_LEVEL_NOOUTPUT,LOG_LEVEL_VERBOSE); + _baud = baud; + Serial.begin(_baud); +} + +void Logging::Error(char* msg, ...){ + if (LOG_LEVEL_ERRORS <= _level) { + print ("ERROR: ",0); + va_list args; + va_start(args, msg); + print(msg,args); + } +} + + +void Logging::Info(char* msg, ...){ + if (LOG_LEVEL_INFOS <= _level) { + va_list args; + va_start(args, msg); + print(msg,args); + } +} + +void Logging::Debug(char* msg, ...){ + if (LOG_LEVEL_DEBUG <= _level) { + va_list args; + va_start(args, msg); + print(msg,args); + } +} + + +void Logging::Verbose(char* msg, ...){ + if (LOG_LEVEL_VERBOSE <= _level) { + va_list args; + va_start(args, msg); + print(msg,args); + } +} + + + + void Logging::print(const char *format, va_list args) { + // + // loop through format string + for (; *format != 0; ++format) { + if (*format == '%') { + ++format; + if (*format == '\0') break; + if (*format == '%') { + Serial.print(*format); + continue; + } + if( *format == 's' ) { + register char *s = (char *)va_arg( args, int ); + Serial.print(s); + continue; + } + if( *format == 'd' || *format == 'i') { + Serial.print(va_arg( args, int ),DEC); + continue; + } + if( *format == 'x' ) { + Serial.print(va_arg( args, int ),HEX); + continue; + } + if( *format == 'X' ) { + Serial.print("0x"); + Serial.print(va_arg( args, int ),HEX); + continue; + } + if( *format == 'b' ) { + Serial.print(va_arg( args, int ),BIN); + continue; + } + if( *format == 'B' ) { + Serial.print("0b"); + Serial.print(va_arg( args, int ),BIN); + continue; + } + if( *format == 'l' ) { + Serial.print(va_arg( args, long ),DEC); + continue; + } + + if( *format == 'c' ) { + Serial.print(va_arg( args, int )); + continue; + } + if( *format == 't' ) { + if (va_arg( args, int ) == 1) { + Serial.print("T"); + } + else { + Serial.print("F"); + } + continue; + } + if( *format == 'T' ) { + if (va_arg( args, int ) == 1) { + Serial.print("true"); + } + else { + Serial.print("false"); + } + continue; + } + + } + Serial.print(*format); + } + } + + Logging Log = Logging(); + + + + + + + + diff --git a/Arduino_Libs/Arduino-logging-library-master/Logging.h b/Arduino_Libs/Arduino-logging-library-master/Logging.h new file mode 100644 index 0000000..930fa1b --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/Logging.h @@ -0,0 +1,146 @@ +#ifndef LOGGING_H +#define LOGGING_H +#include +#include +#if defined(ARDUINO) && ARDUINO >= 100 + #include "Arduino.h" +#else + #include "WProgram.h" +#endif +//#include "pins_arduino.h" +extern "C" { + #include +} + + +#define LOG_LEVEL_NOOUTPUT 0 +#define LOG_LEVEL_ERRORS 1 +#define LOG_LEVEL_INFOS 2 +#define LOG_LEVEL_DEBUG 3 +#define LOG_LEVEL_VERBOSE 4 + +// default loglevel if nothing is set from user +#define LOGLEVEL LOG_LEVEL_DEBUG + + +#define CR "\r\n" +#define LOGGING_VERSION 1 + +/*! +* Logging is a helper class to output informations over +* RS232. If you know log4j or log4net, this logging class +* is more or less similar ;-)
+* Different loglevels can be used to extend or reduce output +* All methods are able to handle any number of output parameters. +* All methods print out a formated string (like printf).
+* To reduce output and program size, reduce loglevel. +*
+* Output format string can contain below wildcards. Every wildcard +* must be start with percent sign (\%) +* +* Depending on loglevel, source code is excluded from compile !
+*
+* Wildcards
+*
    +*
  • \%s replace with an string (char*)
  • +*
  • \%c replace with an character
  • +*
  • \%d replace with an integer value
  • +*
  • \%l replace with an long value
  • +*
  • \%x replace and convert integer value into hex
  • +*
  • \%X like %x but combine with 0x123AB
  • +*
  • \%b replace and convert integer value into binary
  • +*
  • \%B like %x but combine with 0b10100011
  • +*
  • \%t replace and convert boolean value into "t" or "f"
  • +*
  • \%T like %t but convert into "true" or "false"
  • +*

+* Loglevels
+* +* +* +* +* +* +*
0LOG_LEVEL_NOOUTPUTno output
1LOG_LEVEL_ERRORSonly errors
2LOG_LEVEL_INFOSerrors and info
3LOG_LEVEL_DEBUGerrors, info and debug
4LOG_LEVEL_VERBOSEall
+*
+*

History


+* +* +* +* +*/ +class Logging { +private: + int _level; + long _baud; +public: + /*! + * default Constructor + */ + Logging(){} ; + + /** + * Initializing, must be called as first. + * \param void + * \return void + * + */ + void Init(int level, long baud); + + /** + * Output an error message. Output message contains + * ERROR: followed by original msg + * Error messages are printed out, at every loglevel + * except 0 ;-) + * \param msg format string to output + * \param ... any number of variables + * \return void + */ + void Error(char* msg, ...); + + /** + * Output an info message. Output message contains + * Info messages are printed out at l + * loglevels >= LOG_LEVEL_INFOS + * + * \param msg format string to output + * \param ... any number of variables + * \return void + */ + + void Info(char* msg, ...); + + /** + * Output an debug message. Output message contains + * Debug messages are printed out at l + * loglevels >= LOG_LEVEL_DEBUG + * + * \param msg format string to output + * \param ... any number of variables + * \return void + */ + + void Debug(char* msg, ...); + + /** + * Output an verbose message. Output message contains + * Debug messages are printed out at l + * loglevels >= LOG_LEVEL_VERBOSE + * + * \param msg format string to output + * \param ... any number of variables + * \return void + */ + + void Verbose(char* msg, ...); + + +private: + void print(const char *format, va_list args); +}; + +extern Logging Log; +#endif + + + + diff --git a/Arduino_Libs/Arduino-logging-library-master/Logging.zip b/Arduino_Libs/Arduino-logging-library-master/Logging.zip new file mode 100644 index 0000000..6978edb Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/Logging.zip differ diff --git a/Arduino_Libs/Arduino-logging-library-master/Logging_WikiPage.txt b/Arduino_Libs/Arduino-logging-library-master/Logging_WikiPage.txt new file mode 100644 index 0000000..ab6c98e --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/Logging_WikiPage.txt @@ -0,0 +1,54 @@ +%define=box block bgcolor=#dddddd border="2px dotted white"% +%define=wbox block bgcolor=#eeeeee color=#000000 border="1px dotted black" padding="2px"% + + +%wbox%[@Logging library for Arudino +by LunaX - 2010/2011 +@]%% + +!CURRENT VERSION + +1.0)24-FEB-2012 beta version. + +!HISTORY + +1.0) 24-FEB-2012 Initial Release\\ + + +!DESCRIPTION +Easy to use logging library, like log4j or log4net. After getting a logger object, you will have +methods like Error, Info, Warn, Debug, Verbose to log informations over RS232. +Depending on the current loglevel lower logleves are not printed out. +It is possible to work with variable argument lists during output. +Detailed description is included in doc folder + +!HOW TO IMPORT/INSTALL +Download here zip file here [[https://github.com/mrRobot62/Arduino-logging-library]] + +Put the Logging folder in "libraries\". + +Open example project which is included in the zip file. Try it, like it :-) + +Some benefits: +!Use formated strings with wildcards +||border=0 +||!wildcard ||!Comment ||Example || +||%s ||replace with an string (char*) ||logger.Info("String %s",myString); || +||%c ||replace with an character ||logger.Info("use %c as input",myChar); || +||%d ||replace with an integer value ||logger.Info("current value %d",myValue); || +||%l ||replace with an long value ||logger.Info("current long %l",myLong); || +||%x ||replace and convert integer value into hex ||logger.Info ("as hex %x), myValue); || +||%X ||like %x but combine with 0x123AB ||logger.Info ("as hex %X), myValue); || +||%b ||replace and convert integer value into binary ||logger.Info ("as bin %b), myValue); || +||%B ||like %x but combine with 0b10100011 ||logger.Info ("as bin %B), myValue); || +||%t ||replace and convert boolean value into "t" or "f" ||logger.Info ("is it true? %t), myBool); || +||%T ||like %t but convert into "true" or "false" ||logger.Info ("is it true? %T), myBool); || + +!Methods for output +||border=0 +||!Methode ||!Comment || +||Error ||print messages with loglevel >= LOGLEVEL_ERROR || +||Info ||print messages with loglevel >= LOGLEVEL_INFO || +||Debug ||print messages with loglevel >= LOGLEVEL_DEBUG || +||Verbose ||print messages with loglevel >= LOGLEVEL_VERGBOSE || +%% diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/doxygen_objdb_4636.tmp b/Arduino_Libs/Arduino-logging-library-master/doc/doxygen_objdb_4636.tmp new file mode 100644 index 0000000..e69de29 diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp-source.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp-source.html new file mode 100644 index 0000000..475dfa4 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp-source.html @@ -0,0 +1,146 @@ + + +Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp Source File + + + + + +
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp.html new file mode 100644 index 0000000..bff159c --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp.html @@ -0,0 +1,57 @@ + + +Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp File Reference + + + + + +
+

K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp File Reference

#include "Logging.h"
+ +

+

+Include dependency graph for Logging.cpp:
+
+

+
+ +

+Go to the source code of this file.

01 FEB 2012initial release
06 MAR 2012implement a preinstanciate object (like in Wire, ...)
methode init get now loglevel and baud parameter
+ + + + +

Variables

Logging Log = Logging()
+

Variable Documentation

+ +
+
+ + + + +
Logging Log = Logging()
+
+
+ +

+ +

Definition at line 117 of file Logging.cpp.

+ +
+

+ +


Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.md5 new file mode 100644 index 0000000..42fa2fc --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.md5 @@ -0,0 +1 @@ +9bc36cc228a2c8d3e1c6ff210fc4873c \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.png new file mode 100644 index 0000000..63b116e Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8cpp__incl.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h-source.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h-source.html new file mode 100644 index 0000000..08f0086 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h-source.html @@ -0,0 +1,77 @@ + + +Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h Source File + + + + + +
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h.html new file mode 100644 index 0000000..e31432c --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h.html @@ -0,0 +1,236 @@ + + +Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h File Reference + + + + + +
+

K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h File Reference

#include <inttypes.h>
+#include <stdarg.h>
+#include "WProgram.h"
+#include <avr/io.h>
+ +

+

+Include dependency graph for Logging.h:
+
+

+
+ +

+

+This graph shows which files directly or indirectly include this file:
+
+

+ + +
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + +

Classes

class  Logging

Defines

#define LOG_LEVEL_NOOUTPUT   0
#define LOG_LEVEL_ERRORS   1
#define LOG_LEVEL_INFOS   2
#define LOG_LEVEL_DEBUG   3
#define LOG_LEVEL_VERBOSE   4
#define LOGLEVEL   LOG_LEVEL_DEBUG
#define CR   "\r\n"
#define LOGGING_VERSION   1

Variables

Logging Log
+


Define Documentation

+ +
+
+ + + + +
#define CR   "\r\n"
+
+
+ +

+ +

Definition at line 26 of file Logging.h.

+ +
+

+ +

+
+ + + + +
#define LOG_LEVEL_DEBUG   3
+
+
+ +

+ +

Definition at line 19 of file Logging.h.

+ +

Referenced by Logging::Debug().

+ +
+

+ +

+
+ + + + +
#define LOG_LEVEL_ERRORS   1
+
+
+ +

+ +

Definition at line 17 of file Logging.h.

+ +

Referenced by Logging::Error().

+ +
+

+ +

+
+ + + + +
#define LOG_LEVEL_INFOS   2
+
+
+ +

+ +

Definition at line 18 of file Logging.h.

+ +

Referenced by Logging::Info().

+ +
+

+ +

+
+ + + + +
#define LOG_LEVEL_NOOUTPUT   0
+
+
+ +

+ +

Definition at line 16 of file Logging.h.

+ +

Referenced by Logging::Init().

+ +
+

+ +

+
+ + + + +
#define LOG_LEVEL_VERBOSE   4
+
+
+ +

+ +

Definition at line 20 of file Logging.h.

+ +

Referenced by Logging::Init(), and Logging::Verbose().

+ +
+

+ +

+
+ + + + +
#define LOGGING_VERSION   1
+
+
+ +

+ +

Definition at line 27 of file Logging.h.

+ +
+

+ +

+
+ + + + +
#define LOGLEVEL   LOG_LEVEL_DEBUG
+
+
+ +

+ +

Definition at line 23 of file Logging.h.

+ +
+

+


Variable Documentation

+ +
+
+ + + + +
Logging Log
+
+
+ +

+ +

Definition at line 117 of file Logging.cpp.

+ +
+

+

+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.map new file mode 100644 index 0000000..0b98831 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.map @@ -0,0 +1 @@ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.md5 new file mode 100644 index 0000000..d63556a --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.md5 @@ -0,0 +1 @@ +f474553a6094abd8cb87cb218f448acf \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.png new file mode 100644 index 0000000..a3bb9c5 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__dep__incl.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.map new file mode 100644 index 0000000..e69de29 diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.md5 new file mode 100644 index 0000000..40689a5 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.md5 @@ -0,0 +1 @@ +a2cd343e55b11f7ce30991e2ff3c64f6 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.png new file mode 100644 index 0000000..7f150fa Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/_logging_8h__incl.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/annotated.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/annotated.html new file mode 100644 index 0000000..0013253 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/annotated.html @@ -0,0 +1,32 @@ + + +Logging: Class List + + + + + +
+

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + +
Logging
+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging-members.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging-members.html new file mode 100644 index 0000000..b16513b --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging-members.html @@ -0,0 +1,39 @@ + + +Logging: Member List + + + + + +
+

Logging Member List

This is the complete list of members for Logging, including all inherited members.

+ + + + + + + + + +
_baudLogging [private]
_levelLogging [private]
Debug(char *msg,...)Logging
Error(char *msg,...)Logging
Info(char *msg,...)Logging
Init(int level, long baud)Logging
Logging()Logging [inline]
print(const char *format, va_list args)Logging [private]
Verbose(char *msg,...)Logging

+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging.html new file mode 100644 index 0000000..c380cc8 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging.html @@ -0,0 +1,450 @@ + + +Logging: Logging Class Reference + + + + + +
+

Logging Class Reference

#include <Logging.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 Logging ()
void Init (int level, long baud)
void Error (char *msg,...)
void Info (char *msg,...)
void Debug (char *msg,...)
void Verbose (char *msg,...)

Private Member Functions

void print (const char *format, va_list args)

Private Attributes

int _level
long _baud
+


Detailed Description

+Logging is a helper class to output informations over RS232. If you know log4j or log4net, this logging class is more or less similar ;-)
+ Different loglevels can be used to extend or reduce output All methods are able to handle any number of output parameters. All methods print out a formated string (like printf).
+ To reduce output and program size, reduce loglevel.
+ Output format string can contain below wildcards. Every wildcard must be start with percent sign (%)

+Depending on loglevel, source code is excluded from compile !
+
+ Wildcards
+

    +
  • +%s replace with an string (char*)
  • +
  • +%c replace with an character
  • +
  • +%d replace with an integer value
  • +
  • +%l replace with an long value
  • +
  • +%x replace and convert integer value into hex
  • +
  • +%X like x but combine with 0x123AB
  • +
  • +%b replace and convert integer value into binary
  • +
  • +%B like x but combine with 0b10100011
  • +
  • +%t replace and convert boolean value into "t" or "f"
  • +
  • +%T like t but convert into "true" or "false"
  • +
+
+ Loglevels
+ + + + + + + + + + + +
0LOG_LEVEL_NOOUTPUTno output
1LOG_LEVEL_ERRORSonly errors
2LOG_LEVEL_INFOSerrors and info
3LOG_LEVEL_DEBUGerrors, info and debug
4LOG_LEVEL_VERBOSEall
+
+

History

+

+
+ + + + + + + +
01 FEB 2012initial release
06 MAR 2012implement a preinstanciate object (like in Wire, ...)
methode init get now loglevel and baud parameter
+ +

Definition at line 71 of file Logging.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Logging::Logging (  )  [inline]
+
+
+ +

+default Constructor +

Definition at line 79 of file Logging.h.

+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Logging::Init (int  level,
long  baud 
)
+
+
+ +

+Initializing, must be called as first.

Parameters:
+ + +
void 
+
+
Returns:
void
+ +

Definition at line 3 of file Logging.cpp.

+ +

References _baud, _level, LOG_LEVEL_NOOUTPUT, and LOG_LEVEL_VERBOSE.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void Logging::Error (char *  msg,
  ... 
)
+
+
+ +

+Output an error message. Output message contains ERROR: followed by original msg Error messages are printed out, at every loglevel except 0 ;-)

Parameters:
+ + + +
msg format string to output
... any number of variables
+
+
Returns:
void
+ +

Definition at line 9 of file Logging.cpp.

+ +

References _level, LOG_LEVEL_ERRORS, and print().

+ +

+

+Here is the call graph for this function:
+
+

+ + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void Logging::Info (char *  msg,
  ... 
)
+
+
+ +

+Output an info message. Output message contains Info messages are printed out at l loglevels >= LOG_LEVEL_INFOS

+

Parameters:
+ + + +
msg format string to output
... any number of variables
+
+
Returns:
void
+ +

Definition at line 19 of file Logging.cpp.

+ +

References _level, LOG_LEVEL_INFOS, and print().

+ +

+

+Here is the call graph for this function:
+
+

+ + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void Logging::Debug (char *  msg,
  ... 
)
+
+
+ +

+Output an debug message. Output message contains Debug messages are printed out at l loglevels >= LOG_LEVEL_DEBUG

+

Parameters:
+ + + +
msg format string to output
... any number of variables
+
+
Returns:
void
+ +

Definition at line 27 of file Logging.cpp.

+ +

References _level, LOG_LEVEL_DEBUG, and print().

+ +

+

+Here is the call graph for this function:
+
+

+ + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void Logging::Verbose (char *  msg,
  ... 
)
+
+
+ +

+Output an verbose message. Output message contains Debug messages are printed out at l loglevels >= LOG_LEVEL_VERBOSE

+

Parameters:
+ + + +
msg format string to output
... any number of variables
+
+
Returns:
void
+ +

Definition at line 36 of file Logging.cpp.

+ +

References _level, LOG_LEVEL_VERBOSE, and print().

+ +

+

+Here is the call graph for this function:
+
+

+ + +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void Logging::print (const char *  format,
va_list  args 
) [private]
+
+
+ +

+ +

Definition at line 46 of file Logging.cpp.

+ +

Referenced by Debug(), Error(), Info(), and Verbose().

+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
int Logging::_level [private]
+
+
+ +

+ +

Definition at line 73 of file Logging.h.

+ +

Referenced by Debug(), Error(), Info(), Init(), and Verbose().

+ +
+

+ +

+
+ + + + +
long Logging::_baud [private]
+
+
+ +

+ +

Definition at line 74 of file Logging.h.

+ +

Referenced by Init().

+ +
+

+


The documentation for this class was generated from the following files:
    +
  • K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h
  • K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp
+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.map new file mode 100644 index 0000000..4e7e826 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.map @@ -0,0 +1 @@ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 new file mode 100644 index 0000000..7cbc5c5 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 @@ -0,0 +1 @@ +b44edf156b3ed94fc1e1a435a07bb5dd \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png new file mode 100644 index 0000000..b7a3a1c Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.map new file mode 100644 index 0000000..9105e07 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.map @@ -0,0 +1 @@ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 new file mode 100644 index 0000000..4e4f608 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 @@ -0,0 +1 @@ +5e8a322879636277bcdb0b2b55b54b9f \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png new file mode 100644 index 0000000..c1c0895 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.map new file mode 100644 index 0000000..bbd6c1c --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.map @@ -0,0 +1 @@ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 new file mode 100644 index 0000000..d8d161d --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 @@ -0,0 +1 @@ +2e8d61f05c7d2cc58b8f665f5d80d4de \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png new file mode 100644 index 0000000..bf963ef Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.map b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.map new file mode 100644 index 0000000..5d4ffa6 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.map @@ -0,0 +1 @@ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 new file mode 100644 index 0000000..f957c37 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 @@ -0,0 +1 @@ +efec75918d9cbb82f0986a019f6a914b \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png new file mode 100644 index 0000000..b5c22ef Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/classes.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/classes.html new file mode 100644 index 0000000..639f63d --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/classes.html @@ -0,0 +1,34 @@ + + +Logging: Alphabetical List + + + + + +
+

Class Index

+ +
  L  
+
Logging   

+

+
Generated on Sun Feb 26 09:52:54 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.css b/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.css new file mode 100644 index 0000000..22c4843 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.css @@ -0,0 +1,473 @@ +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} +CAPTION { + font-weight: bold +} +DIV.qindex { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navpath { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navtab { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +TD.navtab { + font-size: 70%; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; +} +A.qindexHL:visited { + text-decoration: none; + background-color: #6666cc; + color: #ffffff +} +A.el { + text-decoration: none; + font-weight: bold +} +A.elRef { + font-weight: bold +} +A.code:link { + text-decoration: none; + font-weight: normal; + color: #0000FF +} +A.code:visited { + text-decoration: none; + font-weight: normal; + color: #0000FF +} +A.codeRef:link { + font-weight: normal; + color: #0000FF +} +A.codeRef:visited { + font-weight: normal; + color: #0000FF +} +A:hover { + text-decoration: none; + background-color: #f2f2ff +} +DL.el { + margin-left: -1cm +} +.fragment { + font-family: monospace, fixed; + font-size: 95%; +} +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} + +DIV.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} +DIV.groupText { + margin-left: 16px; + font-style: italic; + font-size: 90% +} +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #e8eef2; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #e8eef2; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { + text-align: center; +} +IMG.formulaDsp { +} +IMG.formulaInl { + vertical-align: middle; +} +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } +SPAN.vhdldigit { color: #ff00ff } +SPAN.vhdlchar { color: #000000 } +SPAN.vhdlkeyword { color: #700070 } +SPAN.vhdllogic { color: #ff0000 } + +.mdescLeft { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplParams { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + color: #606060; + background-color: #FAFAFA; + font-size: 80%; +} +.search { + color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +TD.tiny { + font-size: 75%; +} +a { + color: #1A41A8; +} +a:visited { + color: #2A3798; +} +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} +TH.dirtab { + background: #e8eef2; + font-weight: bold; +} +HR { + height: 1px; + border: none; + border-top: 1px solid black; +} + +/* Style for detailed member documentation */ +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; +} +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +.memitem { + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; +} +.memname { + white-space: nowrap; + font-weight: bold; +} +.memdoc{ + padding-left: 10px; +} +.memproto { + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; +} +.paramkey { + text-align: right; +} +.paramtype { + white-space: nowrap; +} +.paramname { + color: #602020; + font-style: italic; + white-space: nowrap; +} +/* End Styling for detailed member documentation */ + +/* for the tree view */ +.ftvtree { + font-family: sans-serif; + margin:0.5em; +} +/* these are for tree view when used as main index */ +.directory { + font-size: 9pt; + font-weight: bold; +} +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* The following two styles can be used to replace the root node title */ +/* with an image of your choice. Simply uncomment the next two styles, */ +/* specify the name of your image and be sure to set 'height' to the */ +/* proper pixel height of your image. */ + +/* .directory h3.swap { */ +/* height: 61px; */ +/* background-repeat: no-repeat; */ +/* background-image: url("yourimage.gif"); */ +/* } */ +/* .directory h3.swap span { */ +/* display: none; */ +/* } */ + +.directory > h3 { + margin-top: 0; +} +.directory p { + margin: 0px; + white-space: nowrap; +} +.directory div { + display: none; + margin: 0px; +} +.directory img { + vertical-align: -30%; +} +/* these are for tree view when not used as main index */ +.directory-alt { + font-size: 100%; + font-weight: bold; +} +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} +.directory-alt > h3 { + margin-top: 0; +} +.directory-alt p { + margin: 0px; + white-space: nowrap; +} +.directory-alt div { + display: none; + margin: 0px; +} +.directory-alt img { + vertical-align: -30%; +} + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.png new file mode 100644 index 0000000..f0a274b Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/doxygen.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/files.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/files.html new file mode 100644 index 0000000..57e8865 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/files.html @@ -0,0 +1,33 @@ + + +Logging: File Index + + + + + +
+

File List

Here is a list of all files with brief descriptions: + + +
K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp [code]
K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h [code]
+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2blank.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2blank.png new file mode 100644 index 0000000..493c3c0 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2blank.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2doc.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2doc.png new file mode 100644 index 0000000..f72999f Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2doc.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderclosed.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderclosed.png new file mode 100644 index 0000000..d6d0634 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderclosed.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderopen.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderopen.png new file mode 100644 index 0000000..bbe2c91 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2folderopen.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2lastnode.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2lastnode.png new file mode 100644 index 0000000..e7b9ba9 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2lastnode.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2link.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2link.png new file mode 100644 index 0000000..14f3fed Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2link.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mlastnode.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mlastnode.png new file mode 100644 index 0000000..09ceb6a Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mlastnode.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mnode.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mnode.png new file mode 100644 index 0000000..3254c05 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2mnode.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2node.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2node.png new file mode 100644 index 0000000..c9f06a5 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2node.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2plastnode.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2plastnode.png new file mode 100644 index 0000000..0b07e00 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2plastnode.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2pnode.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2pnode.png new file mode 100644 index 0000000..2001b79 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2pnode.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2vertline.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2vertline.png new file mode 100644 index 0000000..b330f3a Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/ftv2vertline.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/functions.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions.html new file mode 100644 index 0000000..eb64096 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions.html @@ -0,0 +1,58 @@ + + +Logging: Class Members + + + + + +
+Here is a list of all class members with links to the classes they belong to: +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_func.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_func.html new file mode 100644 index 0000000..ef1ead3 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_func.html @@ -0,0 +1,54 @@ + + +Logging: Class Members - Functions + + + + + +
+  +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_vars.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_vars.html new file mode 100644 index 0000000..99826ae --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/functions_vars.html @@ -0,0 +1,44 @@ + + +Logging: Class Members - Variables + + + + + +
+  +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/globals.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals.html new file mode 100644 index 0000000..bfbd518 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals.html @@ -0,0 +1,59 @@ + + +Logging: Class Members + + + + + +
+Here is a list of all file members with links to the files they belong to: +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_defs.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_defs.html new file mode 100644 index 0000000..d80de84 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_defs.html @@ -0,0 +1,56 @@ + + +Logging: Class Members + + + + + +
+  +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_vars.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_vars.html new file mode 100644 index 0000000..f88a79f --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/globals_vars.html @@ -0,0 +1,43 @@ + + +Logging: Class Members + + + + + +
+  +

+

+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.dot b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.dot new file mode 100644 index 0000000..1f7c6e4 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.dot @@ -0,0 +1,23 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize=10,labelfontname="FreeSans",labelfontsize=10]; + node [fontname="FreeSans",fontsize=10,shape=record]; + Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolor="grey75",style="filled" fontcolor="black"]; + Node10 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; + Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.html"]; + Node11 -> Node10 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; + Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.html"]; + Node13 -> Node9 [dir=back,color="darkgreen",fontsize=10,style="solid",fontname="FreeSans"]; + Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBase.html"]; + Node14 -> Node9 [dir=back,color="firebrick4",fontsize=10,style="solid",fontname="FreeSans"]; + Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.html"]; + Node15 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; + Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="grey75"]; + Node16 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; + Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; + Node17 -> Node16 [dir=back,color="orange",fontsize=10,style="dashed",label="< int >",fontname="FreeSans"]; + Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; + Node18 -> Node9 [dir=back,color="darkorchid3",fontsize=10,style="dashed",label="m_usedClass",fontname="FreeSans"]; + Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"]; +} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.html new file mode 100644 index 0000000..79fdf29 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.html @@ -0,0 +1,85 @@ + + +Logging: Graph Legend + + + + + +
+

Graph Legend

This page explains how to interpret the graphs that are generated by doxygen.

+Consider the following example:

/*! Invisible class because of truncation */
+class Invisible { };
+
+/*! Truncated class, inheritance relation is hidden */
+class Truncated : public Invisible { };
+
+/* Class not documented with doxygen comments */
+class Undocumented { };
+
+/*! Class that is inherited using public inheritance */
+class PublicBase : public Truncated { };
+
+/*! A template class */
+template<class T> class Templ { };
+
+/*! Class that is inherited using protected inheritance */
+class ProtectedBase { };
+
+/*! Class that is inherited using private inheritance */
+class PrivateBase { };
+
+/*! Class that is used by the Inherited class */
+class Used { };
+
+/*! Super class that inherits a number of other classes */
+class Inherited : public PublicBase,
+                  protected ProtectedBase,
+                  private PrivateBase,
+                  public Undocumented,
+                  public Templ<int>
+{
+  private:
+    Used *m_usedClass;
+};
+
If the MAX_DOT_GRAPH_HEIGHT tag in the configuration file is set to 240 this will result in the following graph:

+

+graph_legend.png +
+

+The boxes in the above graph have the following meaning:

    +
  • +A filled gray box represents the struct or class for which the graph is generated.
  • +
  • +A box with a black border denotes a documented struct or class.
  • +
  • +A box with a grey border denotes an undocumented struct or class.
  • +
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +
+The arrows have the following meaning:
    +
  • +A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • +
  • +A dark green arrow is used for protected inheritance.
  • +
  • +A dark red arrow is used for private inheritance.
  • +
  • +A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • +
  • +A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • +
+
+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.png b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.png new file mode 100644 index 0000000..1f49d7f Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/graph_legend.png differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/index.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/index.html new file mode 100644 index 0000000..ea2faa4 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/index.html @@ -0,0 +1,11 @@ + + +Logging + + + + + <a href="main.html">Frames are disabled. Click here to go to the main page.</a> + + + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/main.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/main.html new file mode 100644 index 0000000..c722324 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/main.html @@ -0,0 +1,25 @@ + + +Logging: Main Page + + + + + +
+

Logging Documentation

+

+

+
Generated on Tue Mar 6 20:17:24 2012 for Logging by  + +doxygen 1.5.6
+ + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_b.gif b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_b.gif new file mode 100644 index 0000000..0d62348 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_b.gif differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_l.gif b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_l.gif new file mode 100644 index 0000000..9b1e633 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_l.gif differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_r.gif b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_r.gif new file mode 100644 index 0000000..ce9dd9f Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/html/tab_r.gif differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/tabs.css b/Arduino_Libs/Arduino-logging-library-master/doc/html/tabs.css new file mode 100644 index 0000000..95f00a9 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/tabs.css @@ -0,0 +1,102 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI.current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI.current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.navpath +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; +} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/html/tree.html b/Arduino_Libs/Arduino-logging-library-master/doc/html/tree.html new file mode 100644 index 0000000..a886f2c --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/html/tree.html @@ -0,0 +1,79 @@ + + + + + + + TreeView + + + + + + diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/FreeSans.ttf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/FreeSans.ttf new file mode 100644 index 0000000..b550b90 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/FreeSans.ttf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/Makefile b/Arduino_Libs/Arduino-logging-library-master/doc/latex/Makefile new file mode 100644 index 0000000..8b7c89a --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/Makefile @@ -0,0 +1,19 @@ +all: clean refman.pdf + +pdf: refman.pdf + +refman.pdf: refman.tex + pdflatex refman.tex + makeindex refman.idx + pdflatex refman.tex + latex_count=5 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + pdflatex refman.tex ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp.tex new file mode 100644 index 0000000..3cd3691 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp.tex @@ -0,0 +1,32 @@ +\hypertarget{_logging_8cpp}{ +\section{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp File Reference} +\label{_logging_8cpp}\index{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp@{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp}} +} +{\tt \#include \char`\"{}Logging.h\char`\"{}}\par + + +Include dependency graph for Logging.cpp:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=192pt]{_logging_8cpp__incl} +\end{center} +\end{figure} +\subsection*{Variables} +\begin{CompactItemize} +\item +\hyperlink{class_logging}{Logging} \hyperlink{_logging_8cpp_f8164407f3289dde66d36070af4244c1}{Log} = \hyperlink{class_logging}{Logging}() +\end{CompactItemize} + + +\subsection{Variable Documentation} +\hypertarget{_logging_8cpp_f8164407f3289dde66d36070af4244c1}{ +\index{Logging.cpp@{Logging.cpp}!Log@{Log}} +\index{Log@{Log}!Logging.cpp@{Logging.cpp}} +\subsubsection[Log]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logging} {\bf Log} = {\bf Logging}()}} +\label{_logging_8cpp_f8164407f3289dde66d36070af4244c1} + + + + +Definition at line 117 of file Logging.cpp. \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.eps new file mode 100644 index 0000000..a3288ae --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.eps @@ -0,0 +1,392 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 384 182 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 348 146 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath 0 116.5 moveto +0 137.5 lineto +340 137.5 lineto +340 116.5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath 0 116.5 moveto +0 137.5 lineto +340 137.5 lineto +340 116.5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8 124.5 moveto 324 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 141 58 199 80 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($_logging_8h.html) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 140.5 58.5 moveto +140.5 79.5 lineto +199.5 79.5 lineto +199.5 58.5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +148.5 66.5 moveto 43 (Logging.h) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 170 116.36 moveto +170 108.92 170 98.74 170 89.73 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 173.5 89.57 moveto +170 79.57 lineto +166.5 89.57 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 173.5 89.57 moveto +170 79.57 lineto +166.5 89.57 lineto +closepath stroke +grestore +% Node3 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 28.5 .5 moveto +28.5 21.5 lineto +87.5 21.5 lineto +87.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +36.5 8.5 moveto 43 (inttypes.h) alignedtext +grestore +% Node2->Node3 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 149.72 58.5 moveto +132.38 49.52 107.21 36.48 87.62 26.34 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 89 23.11 moveto +78.51 21.62 lineto +85.78 29.33 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 89 23.11 moveto +78.51 21.62 lineto +85.78 29.33 lineto +closepath stroke +grestore +% Node4 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 105 .5 moveto +105 21.5 lineto +157 21.5 lineto +157 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +113 8.5 moveto 36 (stdarg.h) alignedtext +grestore +% Node2->Node4 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 162.85 58.36 moveto +157.51 50.43 150.09 39.39 143.75 29.96 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 146.59 27.92 moveto +138.11 21.57 lineto +140.78 31.82 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 146.59 27.92 moveto +138.11 21.57 lineto +140.78 31.82 lineto +closepath stroke +grestore +% Node5 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 174.5 .5 moveto +174.5 21.5 lineto +245.5 21.5 lineto +245.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +182.5 8.5 moveto 55 (WProgram.h) alignedtext +grestore +% Node2->Node5 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 177.34 58.36 moveto +182.81 50.43 190.42 39.39 196.92 29.96 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 199.91 31.79 moveto +202.71 21.57 lineto +194.15 27.82 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 199.91 31.79 moveto +202.71 21.57 lineto +194.15 27.82 lineto +closepath stroke +grestore +% Node6 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 262.5 .5 moveto +262.5 21.5 lineto +309.5 21.5 lineto +309.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +270.5 8.5 moveto 31 (avr/io.h) alignedtext +grestore +% Node2->Node6 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 191.01 58.5 moveto +209.04 49.48 235.27 36.36 255.6 26.2 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 257.38 29.22 moveto +264.76 21.62 lineto +254.25 22.96 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 257.38 29.22 moveto +264.76 21.62 lineto +254.25 22.96 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 384 182 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.md5 new file mode 100644 index 0000000..f8eeced --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.md5 @@ -0,0 +1 @@ +d8b0810a428a95861502d74c2672c55f \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.pdf new file mode 100644 index 0000000..994299c Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8cpp__incl.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h.tex new file mode 100644 index 0000000..9e56344 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h.tex @@ -0,0 +1,153 @@ +\hypertarget{_logging_8h}{ +\section{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h File Reference} +\label{_logging_8h}\index{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h@{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h}} +} +{\tt \#include $<$inttypes.h$>$}\par +{\tt \#include $<$stdarg.h$>$}\par +{\tt \#include \char`\"{}WProgram.h\char`\"{}}\par +{\tt \#include $<$avr/io.h$>$}\par + + +Include dependency graph for Logging.h:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=186pt]{_logging_8h__incl} +\end{center} +\end{figure} + + +This graph shows which files directly or indirectly include this file:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=192pt]{_logging_8h__dep__incl} +\end{center} +\end{figure} +\subsection*{Classes} +\begin{CompactItemize} +\item +class \hyperlink{class_logging}{Logging} +\end{CompactItemize} +\subsection*{Defines} +\begin{CompactItemize} +\item +\#define \hyperlink{_logging_8h_33ec8ee51526c3b2008ed92830c1da16}{LOG\_\-LEVEL\_\-NOOUTPUT}~0 +\item +\#define \hyperlink{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78}{LOG\_\-LEVEL\_\-ERRORS}~1 +\item +\#define \hyperlink{_logging_8h_660a0bd19f239a2e586f9a432395289e}{LOG\_\-LEVEL\_\-INFOS}~2 +\item +\#define \hyperlink{_logging_8h_130224df8c6bf22a688e3cb74a45689a}{LOG\_\-LEVEL\_\-DEBUG}~3 +\item +\#define \hyperlink{_logging_8h_7d2f762be61df3727748e69e4ff197c2}{LOG\_\-LEVEL\_\-VERBOSE}~4 +\item +\#define \hyperlink{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c}{LOGLEVEL}~LOG\_\-LEVEL\_\-DEBUG +\item +\#define \hyperlink{_logging_8h_876ce77f3c672c7162658151e648389e}{CR}~\char`\"{}$\backslash$r$\backslash$n\char`\"{} +\item +\#define \hyperlink{_logging_8h_7e6435a637199b392c536e50a8334d32}{LOGGING\_\-VERSION}~1 +\end{CompactItemize} +\subsection*{Variables} +\begin{CompactItemize} +\item +\hyperlink{class_logging}{Logging} \hyperlink{_logging_8h_f8164407f3289dde66d36070af4244c1}{Log} +\end{CompactItemize} + + +\subsection{Define Documentation} +\hypertarget{_logging_8h_876ce77f3c672c7162658151e648389e}{ +\index{Logging.h@{Logging.h}!CR@{CR}} +\index{CR@{CR}!Logging.h@{Logging.h}} +\subsubsection[CR]{\setlength{\rightskip}{0pt plus 5cm}\#define CR~\char`\"{}$\backslash$r$\backslash$n\char`\"{}}} +\label{_logging_8h_876ce77f3c672c7162658151e648389e} + + + + +Definition at line 26 of file Logging.h.\hypertarget{_logging_8h_130224df8c6bf22a688e3cb74a45689a}{ +\index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-DEBUG@{LOG\_\-LEVEL\_\-DEBUG}} +\index{LOG\_\-LEVEL\_\-DEBUG@{LOG\_\-LEVEL\_\-DEBUG}!Logging.h@{Logging.h}} +\subsubsection[LOG\_\-LEVEL\_\-DEBUG]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-DEBUG~3}} +\label{_logging_8h_130224df8c6bf22a688e3cb74a45689a} + + + + +Definition at line 19 of file Logging.h. + +Referenced by Logging::Debug().\hypertarget{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78}{ +\index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-ERRORS@{LOG\_\-LEVEL\_\-ERRORS}} +\index{LOG\_\-LEVEL\_\-ERRORS@{LOG\_\-LEVEL\_\-ERRORS}!Logging.h@{Logging.h}} +\subsubsection[LOG\_\-LEVEL\_\-ERRORS]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-ERRORS~1}} +\label{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78} + + + + +Definition at line 17 of file Logging.h. + +Referenced by Logging::Error().\hypertarget{_logging_8h_660a0bd19f239a2e586f9a432395289e}{ +\index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-INFOS@{LOG\_\-LEVEL\_\-INFOS}} +\index{LOG\_\-LEVEL\_\-INFOS@{LOG\_\-LEVEL\_\-INFOS}!Logging.h@{Logging.h}} +\subsubsection[LOG\_\-LEVEL\_\-INFOS]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-INFOS~2}} +\label{_logging_8h_660a0bd19f239a2e586f9a432395289e} + + + + +Definition at line 18 of file Logging.h. + +Referenced by Logging::Info().\hypertarget{_logging_8h_33ec8ee51526c3b2008ed92830c1da16}{ +\index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-NOOUTPUT@{LOG\_\-LEVEL\_\-NOOUTPUT}} +\index{LOG\_\-LEVEL\_\-NOOUTPUT@{LOG\_\-LEVEL\_\-NOOUTPUT}!Logging.h@{Logging.h}} +\subsubsection[LOG\_\-LEVEL\_\-NOOUTPUT]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-NOOUTPUT~0}} +\label{_logging_8h_33ec8ee51526c3b2008ed92830c1da16} + + + + +Definition at line 16 of file Logging.h. + +Referenced by Logging::Init().\hypertarget{_logging_8h_7d2f762be61df3727748e69e4ff197c2}{ +\index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-VERBOSE@{LOG\_\-LEVEL\_\-VERBOSE}} +\index{LOG\_\-LEVEL\_\-VERBOSE@{LOG\_\-LEVEL\_\-VERBOSE}!Logging.h@{Logging.h}} +\subsubsection[LOG\_\-LEVEL\_\-VERBOSE]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-VERBOSE~4}} +\label{_logging_8h_7d2f762be61df3727748e69e4ff197c2} + + + + +Definition at line 20 of file Logging.h. + +Referenced by Logging::Init(), and Logging::Verbose().\hypertarget{_logging_8h_7e6435a637199b392c536e50a8334d32}{ +\index{Logging.h@{Logging.h}!LOGGING\_\-VERSION@{LOGGING\_\-VERSION}} +\index{LOGGING\_\-VERSION@{LOGGING\_\-VERSION}!Logging.h@{Logging.h}} +\subsubsection[LOGGING\_\-VERSION]{\setlength{\rightskip}{0pt plus 5cm}\#define LOGGING\_\-VERSION~1}} +\label{_logging_8h_7e6435a637199b392c536e50a8334d32} + + + + +Definition at line 27 of file Logging.h.\hypertarget{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c}{ +\index{Logging.h@{Logging.h}!LOGLEVEL@{LOGLEVEL}} +\index{LOGLEVEL@{LOGLEVEL}!Logging.h@{Logging.h}} +\subsubsection[LOGLEVEL]{\setlength{\rightskip}{0pt plus 5cm}\#define LOGLEVEL~LOG\_\-LEVEL\_\-DEBUG}} +\label{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c} + + + + +Definition at line 23 of file Logging.h. + +\subsection{Variable Documentation} +\hypertarget{_logging_8h_f8164407f3289dde66d36070af4244c1}{ +\index{Logging.h@{Logging.h}!Log@{Log}} +\index{Log@{Log}!Logging.h@{Logging.h}} +\subsubsection[Log]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logging} {\bf Log}}} +\label{_logging_8h_f8164407f3289dde66d36070af4244c1} + + + + +Definition at line 117 of file Logging.cpp. \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.eps new file mode 100644 index 0000000..ae82db2 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.eps @@ -0,0 +1,256 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 384 124 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 348 88 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath 5.5 58.5 moveto +5.5 79.5 lineto +334.5 79.5 lineto +334.5 58.5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath 5.5 58.5 moveto +5.5 79.5 lineto +334.5 79.5 lineto +334.5 58.5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +13.5 66.5 moveto 313 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 0 0 340 22 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($_logging_8cpp.html) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 0 .5 moveto +0 21.5 lineto +340 21.5 lineto +340 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8 8.5 moveto 324 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 170 48.19 moveto +170 39.17 170 28.99 170 21.57 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 166.5 48.36 moveto +170 58.36 lineto +173.5 48.36 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 166.5 48.36 moveto +170 58.36 lineto +173.5 48.36 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 384 124 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.md5 new file mode 100644 index 0000000..9d175e1 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.md5 @@ -0,0 +1 @@ +6a05ccb4580feaa0a41a9439546f2ae1 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.pdf new file mode 100644 index 0000000..5bf30fd Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__dep__incl.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.eps new file mode 100644 index 0000000..b3de7f5 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.eps @@ -0,0 +1,353 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 372 124 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 336 88 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath -.5 58.5 moveto +-.5 79.5 lineto +328.5 79.5 lineto +328.5 58.5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath -.5 58.5 moveto +-.5 79.5 lineto +328.5 79.5 lineto +328.5 58.5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +7.5 66.5 moveto 313 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h) alignedtext +grestore +% Node2 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 22.5 .5 moveto +22.5 21.5 lineto +81.5 21.5 lineto +81.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +30.5 8.5 moveto 43 (inttypes.h) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 143.72 58.5 moveto +126.38 49.52 101.21 36.48 81.62 26.34 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 83 23.11 moveto +72.51 21.62 lineto +79.78 29.33 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 83 23.11 moveto +72.51 21.62 lineto +79.78 29.33 lineto +closepath stroke +grestore +% Node3 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 99 .5 moveto +99 21.5 lineto +151 21.5 lineto +151 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +107 8.5 moveto 36 (stdarg.h) alignedtext +grestore +% Node1->Node3 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 156.85 58.36 moveto +151.51 50.43 144.09 39.39 137.75 29.96 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 140.59 27.92 moveto +132.11 21.57 lineto +134.78 31.82 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 140.59 27.92 moveto +132.11 21.57 lineto +134.78 31.82 lineto +closepath stroke +grestore +% Node4 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 168.5 .5 moveto +168.5 21.5 lineto +239.5 21.5 lineto +239.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +176.5 8.5 moveto 55 (WProgram.h) alignedtext +grestore +% Node1->Node4 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 171.34 58.36 moveto +176.81 50.43 184.42 39.39 190.92 29.96 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 193.91 31.79 moveto +196.71 21.57 lineto +188.15 27.82 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 193.91 31.79 moveto +196.71 21.57 lineto +188.15 27.82 lineto +closepath stroke +grestore +% Node5 +gsave +1 setlinewidth +0 0 0.74902 nodecolor +newpath 256.5 .5 moveto +256.5 21.5 lineto +303.5 21.5 lineto +303.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +264.5 8.5 moveto 31 (avr/io.h) alignedtext +grestore +% Node1->Node5 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 185.01 58.5 moveto +203.04 49.48 229.27 36.36 249.6 26.2 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 251.38 29.22 moveto +258.76 21.62 lineto +248.25 22.96 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 251.38 29.22 moveto +258.76 21.62 lineto +248.25 22.96 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 372 124 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.md5 new file mode 100644 index 0000000..d37d578 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.md5 @@ -0,0 +1 @@ +ee71a91a2b38f624cb7272bb9991a2b0 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.pdf new file mode 100644 index 0000000..487b054 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/_logging_8h__incl.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/annotated.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/annotated.tex new file mode 100644 index 0000000..1dd82f8 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/annotated.tex @@ -0,0 +1,4 @@ +\section{Class List} +Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{\hyperlink{class_logging}{Logging} }{\pageref{class_logging}}{} +\end{CompactList} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging.tex new file mode 100644 index 0000000..1e828b4 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging.tex @@ -0,0 +1,257 @@ +\hypertarget{class_logging}{ +\section{Logging Class Reference} +\label{class_logging}\index{Logging@{Logging}} +} +{\tt \#include $<$Logging.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +\hyperlink{class_logging_cc3d848a3d05076fd185cd95e9c648d5}{Logging} () +\item +void \hyperlink{class_logging_f6a890a6feac5bf93b04cb22db7bd530}{Init} (int level, long baud) +\item +void \hyperlink{class_logging_1cf44ab531c72761fba811882336a2ad}{Error} (char $\ast$msg,...) +\item +void \hyperlink{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e}{Info} (char $\ast$msg,...) +\item +void \hyperlink{class_logging_e0fcd9e5350d7b9158c8ae9289fef193}{Debug} (char $\ast$msg,...) +\item +void \hyperlink{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f}{Verbose} (char $\ast$msg,...) +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void \hyperlink{class_logging_714840794950ab31df5da5b95322e391}{print} (const char $\ast$format, va\_\-list args) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +int \hyperlink{class_logging_117105f639285ba5922836121294c04a}{\_\-level} +\item +long \hyperlink{class_logging_8a2fe833b6e957b763146c32d6be5f2d}{\_\-baud} +\end{CompactItemize} + + +\subsection{Detailed Description} +\hyperlink{class_logging}{Logging} is a helper class to output informations over RS232. If you know log4j or log4net, this logging class is more or less similar ;-) \par + Different loglevels can be used to extend or reduce output All methods are able to handle any number of output parameters. All methods print out a formated string (like printf).\par + To reduce output and program size, reduce loglevel. \par + Output format string can contain below wildcards. Every wildcard must be start with percent sign (\%) + +{\bf Depending on loglevel, source code is excluded from compile !}\par + \par + {\bf Wildcards}\par + \begin{itemize} +\item {\bf \%s} replace with an string (char$\ast$) \item {\bf \%c} replace with an character \item {\bf \%d} replace with an integer value \item {\bf \%l} replace with an long value \item {\bf \%x} replace and convert integer value into hex \item {\bf \%X} like x but combine with {\bf 0x}123AB \item {\bf \%b} replace and convert integer value into binary \item {\bf \%B} like x but combine with {\bf 0b}10100011 \item {\bf \%t} replace and convert boolean value into {\bf \char`\"{}t\char`\"{}} or {\bf \char`\"{}f\char`\"{}} \item {\bf \%T} like t but convert into {\bf \char`\"{}true\char`\"{}} or {\bf \char`\"{}false\char`\"{}} \end{itemize} +\par + {\bf Loglevels}\par + \begin{TabularC}{3} +\hline +0&LOG\_\-LEVEL\_\-NOOUTPUT&no output \\\hline +1&LOG\_\-LEVEL\_\-ERRORS&only errors \\\hline +2&LOG\_\-LEVEL\_\-INFOS&errors and info \\\hline +3&LOG\_\-LEVEL\_\-DEBUG&errors, info and debug \\\hline +4&LOG\_\-LEVEL\_\-VERBOSE&all \\\hline +\end{TabularC} +\par + \subsection*{History} + +\par + \begin{TabularC}{2} +\hline +01 FEB 2012&initial release \\\hline +06 MAR 2012&implement a preinstanciate object (like in Wire, ...) \\\hline +&methode init get now loglevel and baud parameter \\\hline +\end{TabularC} + + +Definition at line 71 of file Logging.h. + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_logging_cc3d848a3d05076fd185cd95e9c648d5}{ +\index{Logging@{Logging}!Logging@{Logging}} +\index{Logging@{Logging}!Logging@{Logging}} +\subsubsection[Logging]{\setlength{\rightskip}{0pt plus 5cm}Logging::Logging ()\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} +\label{class_logging_cc3d848a3d05076fd185cd95e9c648d5} + + +default Constructor + +Definition at line 79 of file Logging.h. + +\subsection{Member Function Documentation} +\hypertarget{class_logging_f6a890a6feac5bf93b04cb22db7bd530}{ +\index{Logging@{Logging}!Init@{Init}} +\index{Init@{Init}!Logging@{Logging}} +\subsubsection[Init]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Init (int {\em level}, \/ long {\em baud})}} +\label{class_logging_f6a890a6feac5bf93b04cb22db7bd530} + + +Initializing, must be called as first. \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em void}]\end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]void \end{Desc} + + +Definition at line 3 of file Logging.cpp. + +References \_\-baud, \_\-level, LOG\_\-LEVEL\_\-NOOUTPUT, and LOG\_\-LEVEL\_\-VERBOSE.\hypertarget{class_logging_1cf44ab531c72761fba811882336a2ad}{ +\index{Logging@{Logging}!Error@{Error}} +\index{Error@{Error}!Logging@{Logging}} +\subsubsection[Error]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Error (char $\ast$ {\em msg}, \/ {\em ...})}} +\label{class_logging_1cf44ab531c72761fba811882336a2ad} + + +Output an error message. Output message contains ERROR: followed by original msg Error messages are printed out, at every loglevel except 0 ;-) \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]void \end{Desc} + + +Definition at line 9 of file Logging.cpp. + +References \_\-level, LOG\_\-LEVEL\_\-ERRORS, and print(). + +Here is the call graph for this function:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=117pt]{class_logging_1cf44ab531c72761fba811882336a2ad_cgraph} +\end{center} +\end{figure} +\hypertarget{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e}{ +\index{Logging@{Logging}!Info@{Info}} +\index{Info@{Info}!Logging@{Logging}} +\subsubsection[Info]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Info (char $\ast$ {\em msg}, \/ {\em ...})}} +\label{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e} + + +Output an info message. Output message contains Info messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-INFOS + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]void \end{Desc} + + +Definition at line 19 of file Logging.cpp. + +References \_\-level, LOG\_\-LEVEL\_\-INFOS, and print(). + +Here is the call graph for this function:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=114pt]{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph} +\end{center} +\end{figure} +\hypertarget{class_logging_e0fcd9e5350d7b9158c8ae9289fef193}{ +\index{Logging@{Logging}!Debug@{Debug}} +\index{Debug@{Debug}!Logging@{Logging}} +\subsubsection[Debug]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Debug (char $\ast$ {\em msg}, \/ {\em ...})}} +\label{class_logging_e0fcd9e5350d7b9158c8ae9289fef193} + + +Output an debug message. Output message contains Debug messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-DEBUG + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]void \end{Desc} + + +Definition at line 27 of file Logging.cpp. + +References \_\-level, LOG\_\-LEVEL\_\-DEBUG, and print(). + +Here is the call graph for this function:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=120pt]{class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph} +\end{center} +\end{figure} +\hypertarget{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f}{ +\index{Logging@{Logging}!Verbose@{Verbose}} +\index{Verbose@{Verbose}!Logging@{Logging}} +\subsubsection[Verbose]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Verbose (char $\ast$ {\em msg}, \/ {\em ...})}} +\label{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f} + + +Output an verbose message. Output message contains Debug messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-VERBOSE + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]void \end{Desc} + + +Definition at line 36 of file Logging.cpp. + +References \_\-level, LOG\_\-LEVEL\_\-VERBOSE, and print(). + +Here is the call graph for this function:\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=124pt]{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph} +\end{center} +\end{figure} +\hypertarget{class_logging_714840794950ab31df5da5b95322e391}{ +\index{Logging@{Logging}!print@{print}} +\index{print@{print}!Logging@{Logging}} +\subsubsection[print]{\setlength{\rightskip}{0pt plus 5cm}void Logging::print (const char $\ast$ {\em format}, \/ va\_\-list {\em args})\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} +\label{class_logging_714840794950ab31df5da5b95322e391} + + + + +Definition at line 46 of file Logging.cpp. + +Referenced by Debug(), Error(), Info(), and Verbose(). + +\subsection{Member Data Documentation} +\hypertarget{class_logging_117105f639285ba5922836121294c04a}{ +\index{Logging@{Logging}!\_\-level@{\_\-level}} +\index{\_\-level@{\_\-level}!Logging@{Logging}} +\subsubsection[\_\-level]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Logging::\_\-level}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} +\label{class_logging_117105f639285ba5922836121294c04a} + + + + +Definition at line 73 of file Logging.h. + +Referenced by Debug(), Error(), Info(), Init(), and Verbose().\hypertarget{class_logging_8a2fe833b6e957b763146c32d6be5f2d}{ +\index{Logging@{Logging}!\_\-baud@{\_\-baud}} +\index{\_\-baud@{\_\-baud}!Logging@{Logging}} +\subsubsection[\_\-baud]{\setlength{\rightskip}{0pt plus 5cm}long {\bf Logging::\_\-baud}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} +\label{class_logging_8a2fe833b6e957b763146c32d6be5f2d} + + + + +Definition at line 74 of file Logging.h. + +Referenced by Init(). + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8h}{Logging.h}\item +K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8cpp}{Logging.cpp}\end{CompactItemize} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.eps new file mode 100644 index 0000000..e971549 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.eps @@ -0,0 +1,256 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 234 66 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 198 30 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath .5 .5 moveto +.5 21.5 lineto +77.5 21.5 lineto +77.5 .5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath .5 .5 moveto +.5 21.5 lineto +77.5 21.5 lineto +77.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8.5 8.5 moveto 61 (Logging::Error) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 115 0 189 22 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 114.5 .5 moveto +114.5 21.5 lineto +189.5 21.5 lineto +189.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +122.5 8.5 moveto 59 (Logging::print) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 77.57 11 moveto +86.12 11 95.28 11 104.14 11 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 104.37 14.5 moveto +114.37 11 lineto +104.37 7.5 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 104.37 14.5 moveto +114.37 11 lineto +104.37 7.5 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 234 66 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 new file mode 100644 index 0000000..1865ac1 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 @@ -0,0 +1 @@ +3277410f8d9ecca3a5de0ab53691ba26 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf new file mode 100644 index 0000000..df16ffa Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.eps new file mode 100644 index 0000000..27b4ffc --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.eps @@ -0,0 +1,256 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 248 66 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 212 30 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath 0 .5 moveto +0 21.5 lineto +92 21.5 lineto +92 .5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath 0 .5 moveto +0 21.5 lineto +92 21.5 lineto +92 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8 8.5 moveto 76 (Logging::Verbose) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 129 0 203 22 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 128.5 .5 moveto +128.5 21.5 lineto +203.5 21.5 lineto +203.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +136.5 8.5 moveto 59 (Logging::print) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 92.05 11 moveto +100.6 11 109.56 11 118.16 11 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 118.43 14.5 moveto +128.43 11 lineto +118.43 7.5 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 118.43 14.5 moveto +128.43 11 lineto +118.43 7.5 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 248 66 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 new file mode 100644 index 0000000..bb251bd --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 @@ -0,0 +1 @@ +e24d211a832d762b210c351a2929e4e6 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf new file mode 100644 index 0000000..9e8e8d5 Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.eps new file mode 100644 index 0000000..2dbc664 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.eps @@ -0,0 +1,256 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 228 66 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 192 30 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath .5 .5 moveto +.5 21.5 lineto +71.5 21.5 lineto +71.5 .5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath .5 .5 moveto +.5 21.5 lineto +71.5 21.5 lineto +71.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8.5 8.5 moveto 55 (Logging::Info) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 109 0 183 22 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 108.5 .5 moveto +108.5 21.5 lineto +183.5 21.5 lineto +183.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +116.5 8.5 moveto 59 (Logging::print) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 71.71 11 moveto +80.1 11 89.17 11 98 11 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 98.19 14.5 moveto +108.19 11 lineto +98.19 7.5 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 98.19 14.5 moveto +108.19 11 lineto +98.19 7.5 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 228 66 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 new file mode 100644 index 0000000..fde9732 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 @@ -0,0 +1 @@ +e09d701f830a3a3458eb02a37752be21 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf new file mode 100644 index 0000000..6ed6f9f Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.eps b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.eps new file mode 100644 index 0000000..70d0c50 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.eps @@ -0,0 +1,256 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.26.3 (20100126.1600) +%%Title: G +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 240 66 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 204 30 boxprim clip newpath +1 1 set_scale 0 rotate 40 41 translate +% Node1 +gsave +0 0 0.74902 nodecolor +newpath 0 .5 moveto +0 21.5 lineto +84 21.5 lineto +84 .5 lineto +closepath fill +1 setlinewidth +filled +0 0 0 nodecolor +newpath 0 .5 moveto +0 21.5 lineto +84 21.5 lineto +84 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +8 8.5 moveto 68 (Logging::Debug) alignedtext +grestore +% Node2 +gsave +[ /Rect [ 121 0 195 22 ] + /Border [ 0 0 0 ] + /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> + /Subtype /Link +/ANN pdfmark +1 setlinewidth +0 0 0 nodecolor +newpath 120.5 .5 moveto +120.5 21.5 lineto +195.5 21.5 lineto +195.5 .5 lineto +closepath stroke +0 0 0 nodecolor +10 /FreeSans set_font +128.5 8.5 moveto 59 (Logging::print) alignedtext +grestore +% Node1->Node2 +gsave +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 84.21 11 moveto +92.59 11 101.45 11 110.01 11 curveto +stroke +0.66667 0.77647 0.43922 edgecolor +newpath 110.24 14.5 moveto +120.24 11 lineto +110.24 7.5 lineto +closepath fill +1 setlinewidth +solid +0.66667 0.77647 0.43922 edgecolor +newpath 110.24 14.5 moveto +120.24 11 lineto +110.24 7.5 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 240 66 +end +restore +%%EOF diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 new file mode 100644 index 0000000..8f0071f --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 @@ -0,0 +1 @@ +25ab114c57dd2bf7b625223980cba149 \ No newline at end of file diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf new file mode 100644 index 0000000..fc29eec Binary files /dev/null and b/Arduino_Libs/Arduino-logging-library-master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf differ diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/doxygen.sty b/Arduino_Libs/Arduino-logging-library-master/doc/latex/doxygen.sty new file mode 100644 index 0000000..fc5b641 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/doxygen.sty @@ -0,0 +1,78 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} +\RequirePackage{calc} +\RequirePackage{array} +\pagestyle{fancyplain} +\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} +\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +\lhead[\fancyplain{}{\bfseries\thepage}] + {\fancyplain{}{\bfseries\rightmark}} +\rhead[\fancyplain{}{\bfseries\leftmark}] + {\fancyplain{}{\bfseries\thepage}} +\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Tue Mar 6 20:17:24 2012 for Logging by Doxygen }]{} +\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Tue Mar 6 20:17:24 2012 for Logging by Doxygen }} +\cfoot{} +\newenvironment{Code} +{\footnotesize} +{\normalsize} +\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} +\newenvironment{DocInclude} +{\footnotesize} +{\normalsize} +\newenvironment{VerbInclude} +{\footnotesize} +{\normalsize} +\newenvironment{Image} +{\begin{figure}[H]} +{\end{figure}} +\newenvironment{ImageNoCaption}{}{} +\newenvironment{CompactList} +{\begin{list}{}{ + \setlength{\leftmargin}{0.5cm} + \setlength{\itemsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \renewcommand{\makelabel}{\hfill}}} +{\end{list}} +\newenvironment{CompactItemize} +{ + \begin{itemize} + \setlength{\itemsep}{-3pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} +} +{\end{itemize}} +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} +\newlength{\tmplength} +\newenvironment{TabularC}[1] +{ +\setlength{\tmplength} + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} + \par\begin{tabular*}{\linewidth} + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} +} +{\end{tabular*}\par} +\newcommand{\entrylabel}[1]{ + {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} +\newenvironment{Desc} +{\begin{list}{} + { + \settowidth{\labelwidth}{40pt} + \setlength{\leftmargin}{\labelwidth} + \setlength{\parsep}{0pt} + \setlength{\itemsep}{-4pt} + \renewcommand{\makelabel}{\entrylabel} + } +} +{\end{list}} +\newenvironment{Indent} + {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} + \item[]\ignorespaces} + {\unskip\end{list}} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\addtocounter{secnumdepth}{1} +\sloppy +\usepackage[T1]{fontenc} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/files.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/files.tex new file mode 100644 index 0000000..b9066e3 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/files.tex @@ -0,0 +1,5 @@ +\section{File List} +Here is a list of all files with brief descriptions:\begin{CompactList} +\item\contentsline{section}{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8cpp}{Logging.cpp} }{\pageref{_logging_8cpp}}{} +\item\contentsline{section}{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8h}{Logging.h} }{\pageref{_logging_8h}}{} +\end{CompactList} diff --git a/Arduino_Libs/Arduino-logging-library-master/doc/latex/refman.tex b/Arduino_Libs/Arduino-logging-library-master/doc/latex/refman.tex new file mode 100644 index 0000000..701a4b1 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/doc/latex/refman.tex @@ -0,0 +1,59 @@ +\documentclass[a4paper]{book} +\usepackage{a4wide} +\usepackage{makeidx} +\usepackage{fancyhdr} +\usepackage{graphicx} +\usepackage{multicol} +\usepackage{float} +\usepackage{textcomp} +\usepackage{alltt} +\usepackage{times} +\usepackage{ifpdf} +\ifpdf +\usepackage[pdftex, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\else +\usepackage[ps2pdf, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\usepackage{pspicture} +\fi +\usepackage[utf8]{inputenc} +\usepackage{doxygen} +\makeindex +\setcounter{tocdepth}{3} +\renewcommand{\footrulewidth}{0.4pt} +\begin{document} +\begin{titlepage} +\vspace*{7cm} +\begin{center} +{\Large Logging }\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.5.6}\\ +\vspace*{0.5cm} +{\small Tue Mar 6 20:17:24 2012}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\pagenumbering{roman} +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\chapter{Class Index} +\input{annotated} +\chapter{File Index} +\input{files} +\chapter{Class Documentation} +\input{class_logging} +\chapter{File Documentation} +\input{_logging_8cpp} +\include{_logging_8h} +\printindex +\end{document} diff --git a/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino new file mode 100644 index 0000000..a9ec5e0 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino @@ -0,0 +1,47 @@ +#include + +/*! +* This example show some examples to use the Log library +* +* Have fun +* mrRobot@web.de +*/ + +// we need a Log object + +#define LOGLEVEL LOG_LEVEL_DEBUG + +int myInt1, myInt2; +long myLong1, myLong2; +bool myBool1, myBool2; +char* myString = "this is a string"; + +void setup() { + Log.Init(LOGLEVEL, 38400L); + Log.Info(CR"******************************************"CR); + Log.Info("My favorite output stuff in future :-)"CR); + Log.Info("******************************************"CR); + myInt1 = 232; + myInt2 = 32199; + myLong1 = 99403020; + myLong2 = 45021; + myBool1 = true; + myBool2 = !myBool1; +} + +void loop() { + Log.Info("Display my integers myInt1 %d, myInt2 %d"CR, myInt1, myInt2); + Log.Info("Display as hex myInt1=%x, myInt1=%X"CR, myInt1, myInt1); + Log.Info("Display as hex myInt2=%x, myInt2=%X"CR, myInt2, myInt2); + Log.Info("Display as binary myInt1=%b, myInt1=%B"CR, myInt1, myInt1); + Log.Info("Display as binary myInt2=%b, myInt2=%B"CR, myInt2, myInt2); + Log.Info("Display my longs myLong1 %l, myLong2=%l"CR, myLong1, myLong2); + Log.Info("Display my bool myBool1=%t, myBool2=%T"CR, myBool1, myBool2); + Log.Info("Output: %s"CR, myString); + Log.Error("is this an real error? %T"CR, myBool2); + Log.Debug("%d, %d, %l, %l, %t, %T"CR, myInt1, myInt2, + myLong1, myLong2, + myBool1, myBool2); + Log.Info(CR"have fun with this Log"CR); + delay(5000); +} diff --git a/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.bak b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.bak new file mode 100644 index 0000000..303adb6 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.bak @@ -0,0 +1,47 @@ +#include + +/*! +* This example show some examples to use the Log library +* +* Have fun +* mrRobot@web.de +*/ + +// we need a Log object + +#define LOGLEVEL LOG_LEVEL_DEBUG + +int myInt1, myInt2; +long myLong1, myLong2; +bool myBool1, myBool2; +char* myString = "this is a string"; + +void setup() { + Log.Init(LOGLEVEL, 38400L); + Log.Info(CR"******************************************"CR); + Log.Info("My favorite output stuff in future :-)"CR); + Log.Info("******************************************"CR); + myInt1 = 232; + myInt2 = 32199; + myLong1 = 99403020; + myLong2 = 45021; + myBool1 = true; + myBool2 = !myBool1; +} + +void loop() { + Log.Info("Display my integers myInt1 %d, myInt2 %d"CR, myInt1, myInt2); + Log.Info("Display as hex myInt1=%x, myInt1=%X"CR, myInt1, myInt1); + Log.Info("Display as hex myInt2=%x, myInt2=%X"CR, myInt2, myInt2); + Log.Info("Display as binary myInt1=%b, myInt1=%B"CR, myInt1, myInt1); + Log.Info("Display as binary myInt2=%b, myInt2=%B"CR, myInt2, myInt2); + Log.Info("Display my longs myLong1 %l, myLong2=%l"CR, myLong1, myLong2); + Log.Info("Display my bool myBool1=%t, myBool2=%T"CR, myBool1, myBool2); + Log.Info("Output: %s"CR, myString); + Log.Error("is this an real error? %T"CR, myBool2); + Log.Debug("%d, %d, %l, %l, %t, %T"CR, myInt1, myInt2, + myLong1, myLong2, + myBool1, myBool2); + Log.Info(CR"have fun with this Log"CR); + delay(5000); +} diff --git a/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.orig b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.orig new file mode 100644 index 0000000..3c3bab7 --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/examples/Logging_example/Logging_example.ino.orig @@ -0,0 +1,47 @@ +#include + +/*! +* This example show some examples to use the Log library +* +* Have fun +* mrRobot@web.de +*/ + +// we need a Log object + +#define LOGLEVEL LOG_LEVEL_DEBUG + +int myInt1, myInt2; +long myLong1, myLong2; +bool myBool1, myBool2; +char* myString = "this is a string"; + +void setup() { + Log.Init(LOGLEVEL, 38400L); + Log.Info(CR"******************************************"CR); + Log.Info("My favorite output stuff in future :-)"CR); + Log.Info("******************************************"CR); + myInt1 = 232; + myInt2 = 32199; + myLong1 = 99403020; + myLong2 = 45021; + myBool1 = true; + myBool2 = !myBool1; +} + +void loop() { + Log.Info("Display my integers myInt1 %d, myInt2 %d"CR,myInt1, myInt2); + Log.Info("Display as hex myInt1=%x, myInt1=%X"CR,myInt1, myInt1); + Log.Info("Display as hex myInt2=%x, myInt2=%X"CR,myInt2, myInt2); + Log.Info("Display as binary myInt1=%b, myInt1=%B"CR,myInt1, myInt1); + Log.Info("Display as binary myInt2=%b, myInt2=%B"CR,myInt2, myInt2); + Log.Info("Display my longs myLong1 %l, myLong2=%l"CR,myLong1, myLong2); + Log.Info("Display my bool myBool1=%t, myBool2=%T"CR,myBool1, myBool2); + Log.Info("Output: %s"CR, myString); + Log.Error("is this an real error? %T"CR,myBool2); + Log.Debug("%d, %d, %l, %l, %t, %T"CR,myInt1,myInt2, + myLong1,myLong2, + myBool1,myBool2); + Log.Info(CR"have fun with this Log"CR); + delay(5000); +} diff --git a/Arduino_Libs/Arduino-logging-library-master/keywords.txt b/Arduino_Libs/Arduino-logging-library-master/keywords.txt new file mode 100644 index 0000000..eb7d93a --- /dev/null +++ b/Arduino_Libs/Arduino-logging-library-master/keywords.txt @@ -0,0 +1,32 @@ +####################################### +# Syntax Coloring Map logging lib +####################################### + +####################################### +# Datatypes (KEYWORD1) +####################################### + +####################################### +# Methods and Functions (KEYWORD2) +####################################### +Error KEYWORD2 error output +Warn KEYWORD2 warning output +Info KEYWORD2 info output +Debug KEYWORD2 debug output +Verbose KEYWORD2 verbose output +Init KEYWORD2 initialiazing + +####################################### +# Instances (KEYWORD2) +####################################### +Logging KEYWORD2 Logging library + +####################################### +# Constants (LITERAL1) +####################################### +LOG_LEVEL_NOOUTPUT LITERAL1 Constants +LOG_LEVEL_ERRORS LITERAL1 Constants +LOG_LEVEL_INFOS LITERAL1 Constants +LOG_LEVEL_DEBUG LITERAL1 Constants +LOG_LEVEL_VERBOSE LITERAL1 Constants + diff --git a/speedclock.h b/speedclock.h index 58eafb0..55e173e 100644 --- a/speedclock.h +++ b/speedclock.h @@ -26,23 +26,22 @@ typedef struct transcv_struct{ #define MIN_DELAY_BETWEEN_SEND_MS 1000 // this defines the time in milliseconds before the next set of data will be send to the base station - except the button was pressed. #define CONN_TIMEOUT 5000 // if there was no data received from the TOPSTATION for that amount of time - the connection is flagged as lost -#define KEY_BOUNCE_MS 10 // the time we use to avoid keybouncing ... +#define KEY_BOUNCE_MS 50 // the time we use to avoid keybouncing ... +#define KEY_LONGPRESSED_MS 1000 +#define BUTTON_NOTPRESSED HIGH +#define BUTTON_PRESSED LOW +#define BUTTON_LONGPRESSED 3 +typedef enum {BUTTON_STOPCANCEL = 0, BUTTON_START, BUTTON_FAIL,NO_LAST_BUTTON} button_number_e; +const uint8_t BUTTONPins[NO_LAST_BUTTON] = { + [BUTTON_STOPCANCEL] = 2, // stop/cancel button input pin + [BUTTON_START] = 4, // start button input pin + [BUTTON_FAIL] = 3, // stop button input pin +}; -#define STOPBUTTON_IN 2 // this is the input for the button -#define STOPBUTTON_PRESSED LOW // this the signal level the top button will be at as soon as pressed #define MIN_DELAY_BETWEEN_PRESSED_MS 1000 // this defines the time in milliseconds before the button is expected to be pressed again. We do this to avaoid keybouncing -#define STARTBUTTON_IN 4 // start button -#define STARTBUTTON_PRESSED LOW -#define CANCELBUTTON_IN 2 // chancle button -#define CANCELBUTTON_PRESSED LOW -#define FAILSTARTBUTTON_IN 3 // fail start button -#define FAILSTARTBUTTON_PRESSED LOW - #define PIEZO_PIN 6 // piezo speaker - - #define DISPLAY_I2C_ADDRESS 0x3C //Adress of the Display typedef enum {TIMER_INIT = 0, TIMER_NOCONNECTION, TIMER_IDLE, TIMER_READY, TIMER_STARTED, TIMER_RUNNING , TIMER_CANCELLED, TIMER_STOPPED, TIMER_TIMEDOUT, TIMER_FAIL, TIMER_WAIT} timer_state_e; @@ -102,4 +101,8 @@ void update_statemessage(timer_state_e timer_state); void failSequence(void); void wait(unsigned long ms); void start_isr(void); +void update_buttons(void); + + + #endif diff --git a/speedclock.ino b/speedclock.ino index 74bad5f..6a5089d 100644 --- a/speedclock.ino +++ b/speedclock.ino @@ -1,4 +1,3 @@ - #include // this will enable us to simply use the Timer1. The Timer1 is NOT used by any Arduino internal functions we are using in thsi sketch (the Servo lib is usually using the Timer1) - so we are free to use it for our needs as we like :-) #include #include "SSD1306Ascii.h" @@ -47,7 +46,11 @@ volatile uint8_t failsequence_count = 0; boolean topbuttonwaspressed = false; // set to true if the stop button was pressed -timer_state_e timer_state = TIMER_IDLE; // current state needs to be initialized to somethin different then new_state due to the fact that some pieces of the code check for differnt values of state and _new_state to detect an update... +uint8_t button_state[NO_LAST_BUTTON] = {BUTTON_NOTPRESSED}; +unsigned long button_last_changed_at[NO_LAST_BUTTON] = {0}; +uint8_t button_last_changed_to[NO_LAST_BUTTON] = {BUTTON_NOTPRESSED}; + +timer_state_e timer_state = TIMER_INIT; // current state needs to be initialized to somethin different then new_state due to the fact that some pieces of the code check for differnt values of state and _new_state to detect an update... timer_state_e timer_new_state = TIMER_NOCONNECTION; // next state - in the startup phase the first state - will be TIMER_NOCONNECTION ... checking if a connection to TOPSTATION is established timer_mode_e timer_mode = MODE_COMPETE; // mode of the BASESTATION - this can be changed in IDLE state by pressing the CANCEL button @@ -56,18 +59,15 @@ transcv_s radio_data; void setup(){ - PCICR = 0; // disable all pin change interrupts - Serial.begin(115200); + + // set the BUTTON pins as pullup input pins ... + for(uint8_t button = 0; button LED_BLINK_ALL_MS){ blink_on_swiched_at = millis(); blink_on = !blink_on; @@ -122,14 +124,14 @@ void loop(void) { if (stationNumber == TOPSTATION){ // Radio is the top station and sends continously its time and the time the stop button was pressed. - startloop_ms = millis(); + if(false == offset_sync_sequence){ // check for pressed button ... if(topbuttonwaspressed == false){ if( (millis() - radio_data.topbuttonpressedtime) > MIN_DELAY_BETWEEN_PRESSED_MS){ // ignore if the button was "pressed" a few millis before - this is keybouncing and would give a false result and if the button is pressed for a longer time that would effect the time as well - if(digitalRead(STOPBUTTON_IN) == STOPBUTTON_PRESSED){ + if(digitalRead(BUTTONPins[BUTTON_STOPCANCEL]) != BUTTON_NOTPRESSED){ // button was pressed - store the time radio_data.topbuttonpressedtime = millis(); topbuttonwaspressed = true; @@ -137,7 +139,7 @@ void loop(void) { } } } else { - if(digitalRead(STOPBUTTON_IN) != STOPBUTTON_PRESSED){ + if(digitalRead(BUTTONPins[BUTTON_STOPCANCEL]) == BUTTON_NOTPRESSED){ topbuttonwaspressed = false; digitalWrite(LEDPins[RUN_LED], LED_OFF); } @@ -151,20 +153,20 @@ void loop(void) { if(offset_sync_sequence || topbuttonwaspressed || ((millis()-radio_data.topstationtime) >= MIN_DELAY_BETWEEN_SEND_MS)){ // store current millis to be send as reference ... radio_data.topstationtime = millis(); // set the current milli second count - Serial.print("senddate_to_base "); - Serial.println(millis()); - //Serial.print("ms - topstationtime: "); - //Serial.print( radio_data.topstationtime ); - //Serial.print(" stoppressedtime: "); - //Serial.print( radio_data.topbuttonpressedtime ); - Serial.print(" offset counter value : "); - Serial.println(counter_time_offset); + //Serial.print("senddate_to_base at:"); + //Serial.println(millis()); + //Serial.print(" -> topstationtime:"); + //Serial.print(radio_data.topstationtime); + //Serial.print("ms stoppressedtime:"); + //Serial.print(radio_data.topbuttonpressedtime); + //Serial.print("ms offset counter value :"); + //Serial.println(counter_time_offset); // send data ... if (!radio.write(&radio_data,sizeof(radio_data))){ // Send the counter variable to the other radio if(((millis() - connection_last_established_at_ms) >= (CONN_TIMEOUT-100)) || (connection_last_established_at_ms == 0)){ connection_available = false; - Serial.println(F("Failed to send data to BASESSTATION ... will retry")); + //Serial.println("Failed to send data to BASESSTATION ... will retry"); digitalWrite(LEDPins[FAIL_LED], LED_ON); digitalWrite(LEDPins[READY_LED], LED_OFF); offset_sync_sequence = true; @@ -179,7 +181,7 @@ void loop(void) { } else { - //Serial.println("Data sent to BASESSTATION"); + //Serial.print("Data sent to BASESSTATION"); digitalWrite(LEDPins[FAIL_LED], LED_OFF); if(offset_sync_sequence){ digitalWrite(LEDPins[FAIL_LED], blink_on); @@ -200,16 +202,16 @@ void loop(void) { } - Serial.print("looptime_top "); - Serial.println(millis()-startloop_ms); - + //Serial.print("looptime_top "); + //Serial.println(millis()); } /****************** Code for the BASESTATION is here - the display and the start button is connected here. All caclulation will be done here ***************************/ if ( stationNumber == BASESTATION ) { - startloop_ms = millis(); + // update button states ... + update_buttons(); // receive data from top_station, calculate offset and set 'last connection' time stamp receive_values(); @@ -219,11 +221,11 @@ void loop(void) { // set state to new_state if(timer_state != timer_new_state){ - Serial.print(millis()); - Serial.print("ms : current state: "); - Serial.print(timer_state); - Serial.print(" new state: "); - Serial.println(timer_new_state); + //Serial.print(millis()); + //Serial.print("ms : current state:"); + //Serial.print(timer_state); + //Serial.print(" new state:"); + //Serial.println(timer_new_state); } timer_state = timer_new_state; @@ -241,21 +243,15 @@ void loop(void) { if(connection_available == false){ // if the connection was lost ... switch to noconnection state timer_new_state = TIMER_NOCONNECTION; - //Serial.println("No connection state will be next"); } else{ // if the offset is claculated, cancel not pressed and failstart not pressed switch to IDLE mode ... if((time_offset_ok == true) && - (digitalRead(CANCELBUTTON_IN) != CANCELBUTTON_PRESSED) && - (digitalRead(FAILSTARTBUTTON_IN) != FAILSTARTBUTTON_PRESSED) ) + (button_state[BUTTON_STOPCANCEL] == BUTTON_NOTPRESSED) && + (button_state[BUTTON_FAIL] == BUTTON_NOTPRESSED) ) { // check if offset is OK - if not .. set state back to INIT - //Serial.println("idle state will be next"); timer_new_state = TIMER_IDLE; - } else { - //Serial.println("init state will be next"); - //Serial.print("offset_ok :"); - //Serial.println(time_offset_ok); } } break; @@ -274,13 +270,11 @@ void loop(void) { } else{ // check if the FALSESTATE button is pressed OR we are in trainingsmode - somebody is ready to run, but STARTBUTTON is NOT pressed ... - if(((digitalRead(FAILSTARTBUTTON_IN) == FAILSTARTBUTTON_PRESSED) || (timer_mode == MODE_TRAINING)) && - (digitalRead(STARTBUTTON_IN) != STARTBUTTON_PRESSED)) + if(((button_state[BUTTON_FAIL] != BUTTON_NOTPRESSED) || (timer_mode == MODE_TRAINING)) && + (button_state[BUTTON_START] == BUTTON_NOTPRESSED)) { - //wait a few milliseconds to prevent keybouncing - this is a very simplistic method here - delay(KEY_BOUNCE_MS); //read again and check if still active ... - if(digitalRead(FAILSTARTBUTTON_IN) == FAILSTARTBUTTON_PRESSED){ + if(button_state[BUTTON_FAIL] != BUTTON_NOTPRESSED){ timer_new_state = TIMER_READY; } } @@ -288,28 +282,24 @@ void loop(void) { } break; case TIMER_READY: - delay(10); - if((digitalRead(FAILSTARTBUTTON_IN) != FAILSTARTBUTTON_PRESSED) && + if((button_state[BUTTON_FAIL] == BUTTON_NOTPRESSED) && (timer_mode != MODE_TRAINING)) { // false start was released again - go back to IDLE ... so far this is not a false start - run was not started yet timer_new_state = TIMER_IDLE; } else { // check if the start button was pressed ... there is at least still someone waiting for the run . - if(digitalRead(STARTBUTTON_IN) == STARTBUTTON_PRESSED){ + if(button_state[BUTTON_START] != BUTTON_NOTPRESSED){ // now enable the interrupt for the FALSESTART button startsequence_count = 0; startsequence_done = false; running_time_offset = mean_time_offset; false_start = false; - attachInterrupt(digitalPinToInterrupt(FAILSTARTBUTTON_IN), false_start_isr, RISING ); + attachInterrupt(digitalPinToInterrupt(BUTTONPins[BUTTON_FAIL]), false_start_isr, RISING ); Timer1.initialize(); timer_new_state = TIMER_STARTED; // set the startime - this is the current time plus the length of this sequence start_time = millis() + STARTSEQ_LENGTH_MS; - //Serial.print(millis()); - //Serial.print(" <- current time ; starttime -> "); - //Serial.println(start_time); // call the start sequence interrupt routine ... Timer1.attachInterrupt(start_isr,STARTSEQ_PAUSE[startsequence_count]); // startISR to run every given microseconds } @@ -330,18 +320,14 @@ void loop(void) { } break; case TIMER_RUNNING: - //noTone(PIEZO_PIN); if(time_offset_ok != true){ // check if offset is still OK - if not .. set warning warn_during_run = true; } if((signed long)(millis() - start_time) > TIMER_TIMEOUT){ - //Serial.print(millis()); - //Serial.print("<- curren time ; runtime ->"); - //Serial.println(millis() - start_time); timer_new_state = TIMER_TIMEDOUT; } else { - if(digitalRead(CANCELBUTTON_IN) == CANCELBUTTON_PRESSED){ + if(button_state[BUTTON_STOPCANCEL] != BUTTON_NOTPRESSED){ timer_new_state = TIMER_CANCELLED; } else { if(radio_data.topbuttonpressedtime > running_time_offset){ @@ -356,7 +342,7 @@ void loop(void) { case TIMER_STOPPED: //calculate the run_time and switch to WAIT delay(KEY_BOUNCE_MS); - if(digitalRead(CANCELBUTTON_IN) != CANCELBUTTON_PRESSED){ + if(button_state[BUTTON_STOPCANCEL] == BUTTON_NOTPRESSED){ timer_new_state = TIMER_WAIT; } break; @@ -365,7 +351,7 @@ void loop(void) { run_time = 99999; if(true == failsequence_done){ delay(KEY_BOUNCE_MS); - if(digitalRead(CANCELBUTTON_IN) != CANCELBUTTON_PRESSED){ + if(button_state[BUTTON_STOPCANCEL] == BUTTON_NOTPRESSED){ timer_new_state = TIMER_WAIT; } } @@ -374,26 +360,22 @@ void loop(void) { // what to do in chancel mode ? run_time = 99999; delay(KEY_BOUNCE_MS); - if(digitalRead(CANCELBUTTON_IN) != CANCELBUTTON_PRESSED){ + if(button_state[BUTTON_STOPCANCEL] == BUTTON_NOTPRESSED){ timer_new_state = TIMER_WAIT; } break; case TIMER_TIMEDOUT: // time out run_time = millis() - start_time; - delay(KEY_BOUNCE_MS); - if(digitalRead(CANCELBUTTON_IN) != CANCELBUTTON_PRESSED){ + if(button_state[BUTTON_STOPCANCEL] == BUTTON_NOTPRESSED){ timer_new_state = TIMER_WAIT; } break; case TIMER_WAIT: - delay(10); - // disable interrupt if not already done - //detachInterrupt(digitalPinToInterrupt(FAILSTARTBUTTON_IN)); // wait until the chancel button was pressed to go ahead - if((digitalRead(CANCELBUTTON_IN) == CANCELBUTTON_PRESSED) //&& - //(digitalRead(STOPBUTTON_IN) != STOPBUTTON_PRESSED) && - //(digitalRead(FAILSTARTBUTTON_IN) != FAILSTARTBUTTON_PRESSED) + if((button_state[BUTTON_STOPCANCEL] != BUTTON_NOTPRESSED) && + (button_state[BUTTON_START] == BUTTON_NOTPRESSED) && + (button_state[BUTTON_FAIL] == BUTTON_NOTPRESSED) ) { timer_new_state = TIMER_IDLE; @@ -409,15 +391,56 @@ void loop(void) { //####################### HELPER FUNCTIONS ########################### +void update_buttons(void){ + uint8_t curr_button_state; + unsigned long button_pressed_at = millis(); + String state_string; + // we have some buttons to update that are used in the sketch ... + for(uint8_t button = 0; button < NO_LAST_BUTTON; button++){ + // which state do we have ? + if(digitalRead(BUTTONPins[button]) != BUTTON_PRESSED){ + state_string = " not pressed."; + curr_button_state = BUTTON_NOTPRESSED; + } else { + state_string = " pressed."; + curr_button_state = BUTTON_PRESSED; + } + if( curr_button_state != button_last_changed_to[button] ){ + button_last_changed_at[button] = button_pressed_at; + button_last_changed_to[button] = curr_button_state; + } + + if(((curr_button_state == BUTTON_NOTPRESSED) && (button_state[button] != BUTTON_NOTPRESSED)) || + ((curr_button_state == BUTTON_PRESSED) && (button_state[button] == BUTTON_NOTPRESSED))) // the button has changed its state + { + // is that bouncing or settled? + if((unsigned long)(button_pressed_at - button_last_changed_at[button]) > KEY_BOUNCE_MS){ + // settled! -> change the stored state. + button_state[button] = curr_button_state; + } else { + } + } else { + if((curr_button_state == BUTTON_PRESSED) && + (button_state[button] == BUTTON_PRESSED)) + { + //check for long pressed button ... + if((unsigned long)(button_pressed_at - button_last_changed_at[button]) > KEY_LONGPRESSED_MS){ + button_state[button] = BUTTON_LONGPRESSED; + } + } + } + } +} + void receive_values(void){ signed long current_time_offset = 0; // current offset ... // wait the connection time out time before receiving data - this is to tell the TOP_STATION to resend offset values in fast mode ... if(keep_connection_off){ if((millis() - connection_last_established_at_ms) > (2*CONN_TIMEOUT)){ keep_connection_off = false; - Serial.println("Connection ON allowed."); + //Serial.print("Connection ON allowed."); } else { - Serial.println("Connection OFF forced."); + //Serial.print("Connection OFF forced."); } } else { @@ -432,11 +455,11 @@ void receive_values(void){ current_time_offset = radio_data.topstationtime - millis(); // the offset between TOP_STATION and BASESTATION //Serial.print("Current time on host in millis:"); //Serial.print(millis()); - //Serial.print(F(" Current time on client in millis: ")); + //Serial.print(" Current time on client in millis: "); //Serial.println(radio_data.topstationtime); //Serial.print("Offset is: "); //Serial.println(current_time_offset); - //Serial.print(F(" Button was pressed last time on client in millis: ")); + //Serial.print(" Button was pressed last time on client in millis: "); //Serial.println(radio_data.topbuttonpressedtime); // offset calculation ... only needed if the variation is bigger than allowed or not enough values available already ... @@ -448,7 +471,7 @@ void receive_values(void){ if(abs(current_time_offset - mean_time_offset) < MAX_DIFFERENCE_OFFSET_MS){ // if the current value is in range - decrease the fail counter by 1 if it was not zero already if(failed_offsets > 0){ - Serial.println("INFO: The last received TOPSTATION offset time stamp was again in range. Decrease internal fail counter"); + //Serial.println("INFO: The last received TOPSTATION offset time stamp was again in range. Decrease internal fail counter"); failed_offsets--; } // the offset is in range - check if we have already enough values of if we need to add more ... @@ -457,11 +480,11 @@ void receive_values(void){ sum_time_offset = sum_time_offset + current_time_offset; counter_time_offset++; mean_time_offset = sum_time_offset/counter_time_offset; - Serial.print(F("Offset calulation. We have ")); + Serial.print("Offset calulation. We have "); Serial.print(counter_time_offset); - Serial.print(F("/")); + Serial.print("/"); Serial.print(REQUIRED_NUMBER_MEANVALS); - Serial.print(F(" values. Mean offset value based on that is: ")); + Serial.print(" values. Mean offset value based on that is: "); Serial.println(mean_time_offset); } else { time_offset_ok = true; @@ -471,21 +494,22 @@ void receive_values(void){ // the current offset is out of range ... // if the values before also already failed the criterion but the max allowed number of such fails is not reached ... just increase the counter. if(failed_offsets < MAX_ALLOWED_FAILED_OFFSETS){ - Serial.println("WARNING: The last received TOPSTATION offset time stamp was out of range. Increase internal fail counter"); + //Serial.println("WARNING: The last received TOPSTATION offset time stamp was out of range. Increase internal fail counter"); failed_offsets++; } else{ // if the values before also already failed the criterion AND the max allowed number of such fails is reached ... we need to restart the mean calculation and set the timer to unready state ... - Serial.print(F("ERROR: TopStation and BaseStation are out off sync. Offset calculation will be restarted. Last ")); - Serial.print(MAX_ALLOWED_FAILED_OFFSETS); - //offset ")); - Serial.print(current_time_offset); - Serial.print("is to far from the mean offset "); - Serial.println( abs(current_time_offset - mean_time_offset) ); - Serial.print(F(" is more than the allowed: ")); - Serial.print(MAX_DIFFERENCE_OFFSET_MS); - Serial.print(F(" compared to the mean offset: ")); - Serial.println(mean_time_offset); + Serial.println("TopStation and BaseStation are out off sync. Offset calculation will be (re)started. "); + //Serial.print("Last "); + //Serial.print(MAX_ALLOWED_FAILED_OFFSETS); + //Serial.print(" offsets (last one: "); + //Serial.print(current_time_offset); + //Serial.print(" ) were to far from the mean offset "); + //Serial.println( abs(current_time_offset - mean_time_offset) ); + //Serial.print("This more than the allowed: "); + //Serial.print(MAX_DIFFERENCE_OFFSET_MS); + //Serial.print(" compared to the mean offset: "); + //Serial.println(mean_time_offset); time_offset_ok = false; counter_time_offset = 0; sum_time_offset = 0; @@ -511,9 +535,7 @@ void update_screen(timer_state_e state){ String content = ""; String footer = ""; - char header_to_char[50]; - char content_to_char[50]; - char footer_to_char[50]; + char string_to_char[50]; float curr_time_local = 0.0; @@ -565,7 +587,6 @@ void update_screen(timer_state_e state){ footer = "Reaction time: "; footer += curr_time_local; footer += " sec"; - Serial.println(footer); break; case TIMER_TIMEDOUT: header = "Timed out!"; @@ -589,19 +610,15 @@ void update_screen(timer_state_e state){ display.clear(0,200,7,7); } //snprintf( string_to_char, sizeof(string_to_char),"%s", header); - header.toCharArray(header_to_char, sizeof(header_to_char)); - content.toCharArray(content_to_char, sizeof(content_to_char)); - footer.toCharArray(footer_to_char, sizeof(footer_to_char)); - //Serial.print("DISPLAY: "); - //Serial.println(string_to_char); + header.toCharArray(string_to_char, sizeof(string_to_char)); display.setFont(System5x7); display.set1X(); - int xpos = (128 - (display.strWidth(header_to_char)))/2 - 10; + int xpos = (128 - (display.strWidth(string_to_char)))/2 - 10; display.home(); display.setLetterSpacing(1); - display.setCursor(64 - (display.strWidth(header_to_char) / 2), 0); - display.print(header_to_char); + display.setCursor(64 - (display.strWidth(string_to_char) / 2), 0); + display.print(string_to_char); display.setCursor(1,0); //check if there is a connection to the topstation if(connection_available != true){ @@ -617,17 +634,20 @@ void update_screen(timer_state_e state){ display.print("----------------------------"); //end of the Header + content.toCharArray(string_to_char, sizeof(string_to_char)); //display.setLetterSpacing(1); display.set2X(); - display.setCursor(64 - (display.strWidth(content_to_char) / 2), 3); - display.print(content_to_char); + display.setCursor(64 - (display.strWidth(string_to_char) / 2), 3); + display.print(string_to_char); //end of the Content + + footer.toCharArray(string_to_char, sizeof(string_to_char)); display.set1X(); display.setCursor(0,6); display.setLetterSpacing(0); display.print("----------------------------"); - display.setCursor(64 - (display.strWidth(footer_to_char) / 2), 7); - display.print(footer_to_char); + display.setCursor(64 - (display.strWidth(string_to_char) / 2), 7); + display.print(string_to_char); } } @@ -639,26 +659,20 @@ void set_state_LEDs(timer_state_e state, boolean warn){ leds_states = LEDStates[state]; } // loop over all the LEDs and set state ... - for(uint8_t led = 0; led "); - Serial.println(failsequence_count); if(failsequence_count 0){ @@ -691,19 +701,15 @@ void false_start_isr(void){ // this is the interrupt routine for the FALSESTART button // this will save the time when the runner is really started if(timer_new_state != TIMER_READY){ - //Serial.print(millis()); - //Serial.println("** Interrupt service routine started: false_start_ISR **"); - //Serial.print("false start button: "); - //Serial.println(digitalRead(FAILSTARTBUTTON_IN)); runner_start_time = millis(); + //Serial.print(runner_start_time); + //Serial.println(" ms <- current time ** false_start_ISR ** false start button released: "); if(false == startsequence_done){ false_start = true; - Serial.print(millis()); - Serial.print(" <- current time ; starttime -> "); - Serial.print(start_time); - Serial.println(" ** Interrupt service routine detected false_start. **"); + //Serial.print(start_time); + //Serial.println(" <- starttime ** Interrupt service routine detected false_start. **"); } - detachInterrupt(digitalPinToInterrupt(FAILSTARTBUTTON_IN)); + detachInterrupt(digitalPinToInterrupt(BUTTONPins[BUTTON_FAIL])); } } @@ -735,4 +741,3 @@ void start_isr(void){ } } -