Skip to content

Commit e22262b

Browse files
Altered defaults back to Arduino Uno.
1 parent 8018c1b commit e22262b

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

config.h

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@
3030
// These are the Arduino devices that can be used. I'm sure others would work,
3131
// but these are the only ones I have to test with. Only one of these should
3232
// be uncommented.
33-
//#define ARDUINO_UNO // Arduino Uno board
33+
#define ARDUINO_UNO // Arduino Uno board
3434
//#define ARDUINO_MEGA // Arduino Mega 2560/ADK board
35-
#define ARDUINO_TEENSY // PJRC Teensy 2.0
35+
//#define ARDUINO_TEENSY // PJRC Teensy 2.0
3636

3737
// Uncomment this line if you are using an LCD display
3838
//#define LCD_DISPLAY
3939

4040
// Uncomment this line if you are using a hardware button for image selection
41-
//#define SELECTOR_BUTTON
41+
#define SELECTOR_BUTTON
4242

4343
// Uncomment this line if you want a reset button (automatically mounts /AUTORUN.ATR)
44-
#define RESET_BUTTON
44+
//#define RESET_BUTTON
4545

4646
// uncomment if using an Ethernet shield for SD capabilities
4747
//#define ETHERNET_SHIELD
@@ -63,11 +63,10 @@
6363
* These are the Arduino pin definitions.
6464
*/
6565

66-
#if defined(ARDUINO_MEGA) || defined(ARDUINO_UNO)
67-
#define PIN_ATARI_CMD 2 // the Atari SIO command line - usually the purple wire on the SIO cable
68-
#endif
6966
#ifdef ARDUINO_TEENSY
70-
#define PIN_ATARI_CMD 4 // the Atari SIO command line - usually the purple wire on the SIO cable
67+
#define PIN_ATARI_CMD 4 // the Atari SIO command line - usually the purple wire on the SIO cable
68+
#else
69+
#define PIN_ATARI_CMD 2 // the Atari SIO command line - usually the purple wire on the SIO cable
7170
#endif
7271

7372
// for now, you can't change these pin definitions
@@ -99,7 +98,11 @@
9998
#endif
10099

101100
#ifdef RESET_BUTTON
102-
#define PIN_RESET 5 // the reset button pin
101+
#ifdef ARDUINO_TEENSY
102+
#define PIN_RESET 5 // the reset button pin
103+
#else
104+
#define PIN_RESET 3 // the reset button pin
105+
#endif
103106
#endif
104107

105108
#ifdef LCD_DISPLAY
@@ -141,4 +144,4 @@
141144
#define LOG_MSG_CR(...)
142145
#endif
143146

144-
#endif
147+
#endif

0 commit comments

Comments
 (0)