ASMESDC2018
Namespaces | Macros | Functions
/home/swerve/Github/sdc_2018/omni_robot/Logger.h File Reference

Header file for error codes More...

#include <Arduino.h>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 logger
 

Macros

#define DEBUG_LOGGER_LEVEL   0
 
#define SUCCESS   0
 
#define MOTOR_TYPE_ERROR   -1
 
#define ENCODER_SETUP_ERROR   -2
 
#define SENSOR_TYPE_ERROR   -3
 
#define SENSOR_INT_ERROR   -4
 
#define LED_STATE_ERROR   -5
 

Functions

int logger::displayError (int)
 
void logger::displayInfo (String)
 int displayError(int) More...
 
void logger::displayDebug (String)
 int void displayInfo(String) More...
 

Detailed Description

Header file for error codes

Author
Frederick Wachter - wacht.nosp@m.erfr.nosp@m.eddy@.nosp@m.gmai.nosp@m.l.com
Date
Created: 2018-03-06

Definition in file Logger.h.

Macro Definition Documentation

#define DEBUG_LOGGER_LEVEL   0

Definition at line 13 of file Logger.h.

#define ENCODER_SETUP_ERROR   -2

Definition at line 17 of file Logger.h.

#define LED_STATE_ERROR   -5

Definition at line 20 of file Logger.h.

#define MOTOR_TYPE_ERROR   -1

Definition at line 16 of file Logger.h.

#define SENSOR_INT_ERROR   -4

Definition at line 19 of file Logger.h.

#define SENSOR_TYPE_ERROR   -3

Definition at line 18 of file Logger.h.

#define SUCCESS   0

Definition at line 15 of file Logger.h.