You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
664 B
C

7 years ago
#ifndef __HW_H__
#define __HW_H__
#define SenderEnable PD2
#define ReceiverDisable PD3
#ifdef TESTNODE
#include "testhw.h"
#endif
#ifdef RELAISNODE
#include "relaishw.h"
#endif
#ifndef F_CPU
#define F_CPU 16000000L
#endif
#ifndef HBWTYPE
#define HBWTYPE 0xAB
#endif
#ifndef HBWSERIAL0
#define HBWSERIAL0 'C'
#define HBWSERIAL1 'O'
#define HBWSERIAL2 'L'
#define HBWSERIAL3 'A'
#define HBWSERIAL4 'B'
#define HBWSERIAL5 'D'
#define HBWSERIAL6 'E'
#define HBWSERIAL7 'V'
#define HBWSERIAL8 '0'
#define HBWSERIAL9 '0'
#endif
#ifndef HBWMAJOR
#define HBWMAJOR 0
#endif
#ifndef HBWMINOR
#define HBWMINOR 0
#endif
#ifndef EESIZE
#define EESIZE 512
#endif
#endif