//
// 7 segment LED display library
//
// Department of Mechatronics
// Tallinn University of Technology
// © Copyrights 2009
//

//
// Include segment_display.h only once
//
#ifndef _SEGMENT_DISPLAY_H_
#define _SEGMENT_DISPLAY_H_

//
// Include common library
//
#include "../common.h"

//
// C++ compatibility
//
#ifdef __cplusplus
extern "C" {
#endif

//
// 7-segment display initialization
//
extern void segment_display_init(void);

//
// Digit writing to 7 segment display
//
extern void segment_display_write(unsigned char digit);

//
// Character map
//
extern const unsigned char segment_char_map[];

//
// C++ compatibility
//
#ifdef __cplusplus
}
#endif

#endif