mirror of
https://github.com/nealey/hw-rollerderby-scoreboard
synced 2025-01-16 20:05:00 -07:00
Standard wiring pin assignments
This commit is contained in:
parent
5b2a7017b4
commit
8b3bfa0272
1 changed files with 7 additions and 7 deletions
14
config.h
14
config.h
|
@ -1,7 +1,7 @@
|
|||
#ifndef __CONFIG_H__
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CLOCK_MHZ 20
|
||||
#define CLOCK_MHZ 16
|
||||
#define CLOCK_HZ (CLOCK_MHZ * 1000000)
|
||||
|
||||
#define SCORE_DIGITS 2
|
||||
|
@ -9,11 +9,11 @@
|
|||
#define JAM_DIGITS 3
|
||||
|
||||
// Set these to the PORTA pins you use
|
||||
#define SIN 0
|
||||
#define SCLK 1
|
||||
#define SLTCH 2
|
||||
#define NESCLK 3
|
||||
#define NESLTCH 4
|
||||
#define NESOUT 5
|
||||
#define SIN 3
|
||||
#define SCLK 4
|
||||
#define SLTCH 5
|
||||
#define NESCLK 0
|
||||
#define NESLTCH 1
|
||||
#define NESOUT 2
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue