Rev 667 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 667 | Rev 673 | ||
|---|---|---|---|
| Line 6... | Line 6... | ||
| 6 | #define F_CPU 20000000UL |
6 | #define F_CPU 20000000UL |
| 7 | 7 | ||
| 8 | #define UART_OUTPUT /* If you got the node connected to a computer enable this */ |
8 | #define UART_OUTPUT /* If you got the node connected to a computer enable this */ |
| 9 | //#define LED_OUTPUT /* If you havent got any connection to a computer but still got some IOs free */ |
9 | //#define LED_OUTPUT /* If you havent got any connection to a computer but still got some IOs free */ |
| 10 | 10 | ||
| 11 | #define SENDING_ID |
11 | #define SENDING_ID 0x1fffffffUL |
| 12 | #define ECHO_RECEIVE_ID 0x1700000UL |
12 | #define ECHO_RECEIVE_ID 0x1700000UL |
| 13 | #define ECHO_SENDING_ID 0x17000FFUL |
13 | #define ECHO_SENDING_ID 0x17000FFUL |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | //#define MCU atmega88 |
16 | //#define MCU atmega88 |
| Line 20... | Line 20... | ||
| 20 | #define MCP_CS_BIT PB2 |
20 | #define MCP_CS_BIT PB2 |
| 21 | #define MCP_CAN_BITRATE_KBPS 250 |
21 | #define MCP_CAN_BITRATE_KBPS 250 |
| 22 | #define MCP_CLOCK_FREQ_MHZ 20 |
22 | #define MCP_CLOCK_FREQ_MHZ 20 |
| 23 | #define MCP_CLOCK_PRESC 1 |
23 | #define MCP_CLOCK_PRESC 1 |
| 24 | 24 | ||
| 25 | #define SERIAL_BAUDRATE |
25 | #define SERIAL_BAUDRATE 9600 |
| 26 | #define SERIAL_RX_BUFFER_SIZE 32 |
26 | #define SERIAL_RX_BUFFER_SIZE 32 |
| 27 | #define SERIAL_TX_BUFFER_SIZE 64 |
27 | #define SERIAL_TX_BUFFER_SIZE 64 |
| 28 | 28 | ||
| 29 | #endif /*CONFIG_H_*/ |
29 | #endif /*CONFIG_H_*/ |