Subversion Repositories group.NITPanels

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pfowler 1
#ifndef _CONFIG_H_
2
#define _CONFIG_H_
3
 
4
 
5
 
24 pfowler 6
#ifndef HW_VERSION
7
	#error "No HW_VERSION set"
8
#endif
2 pfowler 9
 
24 pfowler 10
#if HW_VERSION==0x01
11
	#include "config_hw01.h"
12
#endif
13
#if HW_VERSION==0x02
14
	#include "config_hw02.h"
15
#endif
2 pfowler 16
 
24 pfowler 17
#define SW_VERSION 			0x02
18
#define I2C_SLAVE_ADDR  	0x26
19
#define DISPLAY_REFRESH 	2
2 pfowler 20
 
21
#endif