2014-01-11 21:02:24 -07:00
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__
|
|
|
|
|
2014-01-12 11:07:42 -07:00
|
|
|
#define CLOCK_MHZ 16
|
2014-01-12 08:49:38 -07:00
|
|
|
#define CLOCK_HZ (CLOCK_MHZ * 1000000)
|
2014-01-11 21:02:24 -07:00
|
|
|
|
|
|
|
#define SCORE_DIGITS 2
|
|
|
|
#define JAM_DIGITS 3
|
|
|
|
|
2014-01-12 11:25:54 -07:00
|
|
|
// Show an indicator (J/L/t) to the left of the jam clock
|
|
|
|
//#define JAM_INDICATOR
|
|
|
|
|
|
|
|
// The jam clock is split across the period clock (easier folding, harder wiring)
|
|
|
|
//#define JAM_SPLIT
|
|
|
|
|
2014-01-12 11:05:18 -07:00
|
|
|
// Set these to the PORTA pins you use
|
2014-01-12 11:07:42 -07:00
|
|
|
#define NESCLK 0
|
|
|
|
#define NESLTCH 1
|
|
|
|
#define NESOUT 2
|
2014-01-12 11:32:46 -07:00
|
|
|
#define SIN 3
|
|
|
|
#define SCLK 4
|
|
|
|
#define SLTCH 5
|
2014-01-12 11:05:18 -07:00
|
|
|
|
2014-01-12 11:32:46 -07:00
|
|
|
#endif
|