From b8f09108d23fdee5f76310aa81074516d0e34ca2 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 7 Feb 2014 13:35:39 -0700 Subject: [PATCH] Fix builds, fix controller pins --- config.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index c5efa33..f7eeb72 100644 --- a/config.h +++ b/config.h @@ -8,6 +8,10 @@ #define JAM_DEFAULT (-2 * 60 * 10) #define PERIOD_DEFAULT (-30 * 60 * 10) +// TPIC uses weird pin names +#define SRCK SCLK +#define RCK SLTCH + // Set these to the PORTA pins you use #define NESCLK 0 #define NESLTCH 1 @@ -18,7 +22,11 @@ #define JAM_DIGITS 3 - +#define std 0 +#define neale 1 +#define susan1 2 +#define susan2 3 +#define robbie 3 #if VARIANT == neale // @@ -40,12 +48,12 @@ #undef SCLK #undef SLTCH -#define NESCLK 3 -#define NESLTCH 4 -#define NESOUT 5 #define SIN 0 #define SCLK 1 #define SLTCH 2 +#define NESCLK 3 +#define NESLTCH 4 +#define NESOUT 5 @@ -72,7 +80,6 @@ #define SCORE_DIGITS 3 - #else // // Default variant @@ -82,7 +89,6 @@ // - #define SCORE_DIGITS 3 #define JAM_SPLIT @@ -90,5 +96,4 @@ #endif - #endif