File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 30
30
// These are the Arduino devices that can be used. I'm sure others would work,
31
31
// but these are the only ones I have to test with. Only one of these should
32
32
// be uncommented.
33
- // #define ARDUINO_UNO // Arduino Uno board
33
+ #define ARDUINO_UNO // Arduino Uno board
34
34
//#define ARDUINO_MEGA // Arduino Mega 2560/ADK board
35
- #define ARDUINO_TEENSY // PJRC Teensy 2.0
35
+ // #define ARDUINO_TEENSY // PJRC Teensy 2.0
36
36
37
37
// Uncomment this line if you are using an LCD display
38
38
//#define LCD_DISPLAY
39
39
40
40
// Uncomment this line if you are using a hardware button for image selection
41
- // #define SELECTOR_BUTTON
41
+ #define SELECTOR_BUTTON
42
42
43
43
// Uncomment this line if you want a reset button (automatically mounts /AUTORUN.ATR)
44
- #define RESET_BUTTON
44
+ // #define RESET_BUTTON
45
45
46
46
// uncomment if using an Ethernet shield for SD capabilities
47
47
//#define ETHERNET_SHIELD
63
63
* These are the Arduino pin definitions.
64
64
*/
65
65
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
69
66
#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
71
70
#endif
72
71
73
72
// for now, you can't change these pin definitions
99
98
#endif
100
99
101
100
#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
103
106
#endif
104
107
105
108
#ifdef LCD_DISPLAY
141
144
#define LOG_MSG_CR (...)
142
145
#endif
143
146
144
- #endif
147
+ #endif
You can’t perform that action at this time.
0 commit comments