Skip to content

Commit d1c98a6

Browse files
authored
Merge pull request #37 from BuilderSky/master
Added "A" to each example
2 parents 240f8c5 + bd1d4c2 commit d1c98a6

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

examples/AcceleratedRotator/AcceleratedRotator.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#if defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO_EVERY)
3030
// Example for Arduino UNO with input signals on pin 2 and 3
31-
#define PIN_IN1 2
32-
#define PIN_IN2 3
31+
#define PIN_IN1 A2
32+
#define PIN_IN2 A3
3333

3434
#elif defined(ESP8266)
3535
// Example for ESP8266 NodeMCU with input signals on pin D5 and D6

examples/InterruptRotator/InterruptRotator.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
#if defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO_EVERY)
3232
// Example for Arduino UNO with input signals on pin 2 and 3
33-
#define PIN_IN1 2
34-
#define PIN_IN2 3
33+
#define PIN_IN1 A2
34+
#define PIN_IN2 A3
3535

3636
#elif defined(ESP8266)
3737
// Example for ESP8266 NodeMCU with input signals on pin D5 and D6

examples/LimitedRotator/LimitedRotator.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
#if defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO_EVERY)
2828
// Example for Arduino UNO with input signals on pin 2 and 3
29-
#define PIN_IN1 2
30-
#define PIN_IN2 3
29+
#define PIN_IN1 A2
30+
#define PIN_IN2 A3
3131

3232
#elif defined(ESP8266)
3333
// Example for ESP8266 NodeMCU with input signals on pin D5 and D6

examples/SimplePollRotator/SimplePollRotator.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#if defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO_EVERY)
2727
// Example for Arduino UNO with input signals on pin 2 and 3
28-
#define PIN_IN1 2
29-
#define PIN_IN2 3
28+
#define PIN_IN1 A2
29+
#define PIN_IN2 A3
3030

3131
#elif defined(ESP8266)
3232
// Example for ESP8266 NodeMCU with input signals on pin D5 and D6

examples/SimplePollRotatorLCD/SimplePollRotatorLCD.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
#if defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO_EVERY)
2424
// Example for Arduino UNO with input signals on pin 2 and 3
25-
#define PIN_IN1 2
26-
#define PIN_IN2 3
25+
#define PIN_IN1 A2
26+
#define PIN_IN2 A3
2727

2828
#elif defined(ESP8266)
2929
// Example for ESP8266 NodeMCU with input signals on pin D5 and D6

0 commit comments

Comments
 (0)