Rev 131 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef _CONFIG_H_#define _CONFIG_H_#define OSFRADIO#define HW_VERSION 0x01#define SW_VERSION 0x01#define I2C_SLAVE_ADDR 0x26#define DISPLAY_REFRESH 2/** Setup for the shift register*/#define HC595_PORT PORTA#define HC595_DDR DDRA#define HC595_DS_PIN PA0#define HC595_STCP_PIN PA1#define HC595_SHCP_PIN PA2#define ROT_1_PIN PINB#define ROT_1A_PIN PCINT8#define ROT_1B_PIN PCINT9// Decimal point output pin// - for drawing the DP on 7 segment#define DP_PORT PORTA#define DP_PIN PA5// Blank output pin// - for blanking the 4511 during update#define BL_PORT PORTA#define BL_PIN PA3// Flip & Swap buttons#define SB_INPUT PINB#define SB_PIN PB2#define FB_INPUT PINA#define FB_PIN PA7#endif