Skip to content

Commit baec51d

Browse files
authored
Correct comment GPIO pin config Arduino Mega 2560
1 parent 1926426 commit baec51d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Arduino/hitaguino/hitaguino.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@
1212
/* 4MHz clock output for PCF7991 ABIC */
1313
#if defined(__AVR_ATmega328P__) // Setting for Arduino Nano and Pro Mini
1414
const int CLKOUT = 3;
15-
#elif(__AVR_ATmega2560__) // Setting for Arduino Nano and Pro Mini
15+
#elif(__AVR_ATmega2560__) // Setting for Arduino Mega 2560
1616
const int CLKOUT = 9;
1717
#endif
1818

1919
const int SCK_pin = 6;
2020
const int dout_pin = 7;
21-
//const int din_pin = 21; // Arduino Mega2560 original value 21 Mega2560 can also use 2
22-
const int din_pin = 2; //Use with Arduino Nano
23-
//Note: din_pin must have external interrupt feature!
21+
const int din_pin = 2; //Note: din_pin must have external interrupt feature!
2422
const int test_pin = 4;
2523

2624
const char hitagerVersion[] = {"211"}; // Major Version, Minor Version, Fix

0 commit comments

Comments
 (0)