Standard wiring pin assignments
This commit is contained in:
parent
5b2a7017b4
commit
8b3bfa0272
14
config.h
14
config.h
|
@ -1,7 +1,7 @@
|
||||||
#ifndef __CONFIG_H__
|
#ifndef __CONFIG_H__
|
||||||
#define __CONFIG_H__
|
#define __CONFIG_H__
|
||||||
|
|
||||||
#define CLOCK_MHZ 20
|
#define CLOCK_MHZ 16
|
||||||
#define CLOCK_HZ (CLOCK_MHZ * 1000000)
|
#define CLOCK_HZ (CLOCK_MHZ * 1000000)
|
||||||
|
|
||||||
#define SCORE_DIGITS 2
|
#define SCORE_DIGITS 2
|
||||||
|
@ -9,11 +9,11 @@
|
||||||
#define JAM_DIGITS 3
|
#define JAM_DIGITS 3
|
||||||
|
|
||||||
// Set these to the PORTA pins you use
|
// Set these to the PORTA pins you use
|
||||||
#define SIN 0
|
#define SIN 3
|
||||||
#define SCLK 1
|
#define SCLK 4
|
||||||
#define SLTCH 2
|
#define SLTCH 5
|
||||||
#define NESCLK 3
|
#define NESCLK 0
|
||||||
#define NESLTCH 4
|
#define NESLTCH 1
|
||||||
#define NESOUT 5
|
#define NESOUT 2
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue