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
|
2014-01-12 11:59:29 -07:00
|
|
|
#define JAM_INDICATOR
|
2014-01-12 11:25:54 -07:00
|
|
|
|
|
|
|
// The jam clock is split across the period clock (easier folding, harder wiring)
|
2014-01-12 11:59:29 -07:00
|
|
|
#define JAM_SPLIT
|
2014-01-12 11:25:54 -07:00
|
|
|
|
2014-01-12 11:05:18 -07:00
|
|
|
// Set these to the PORTA pins you use
|
2014-01-12 11:59:29 -07:00
|
|
|
#define NESCLK 3
|
|
|
|
#define NESLTCH 4
|
|
|
|
#define NESOUT 5
|
|
|
|
#define SIN 0
|
|
|
|
#define SCLK 1
|
|
|
|
#define SLTCH 2
|
2014-01-12 11:05:18 -07:00
|
|
|
|
2014-01-12 11:32:46 -07:00
|
|
|
#endif
|