Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
665 arune 1
#ifndef CONFIG_H_
2
#define CONFIG_H_
3
 
4
// Kolla makefile för att sätta MCU!!
5
 
6
#define F_CPU                   20000000UL
7
 
8
//#define MCU atmega88
9
#define CAN_CONTROLLER          MCP2515
10
#define MCP_CS_PORT             PORTB
11
#define MCP_CS_DDR              DDRB
12
#define MCP_CS_BIT              PB2
13
#define MCP_CAN_BITRATE_KBPS    250
14
#define MCP_CLOCK_FREQ_MHZ      20
15
#define MCP_CLOCK_PRESC         1
16
 
17
#define SERIAL_BAUDRATE         57600
18
#define SERIAL_RX_BUFFER_SIZE   32
19
#define SERIAL_TX_BUFFER_SIZE   64
20
 
21
/* set to 0 for not sending timestamps on bus */
22
#define SENDTIMESTAMP   0
23
 
24
#endif /*CONFIG_H_*/