AGirs
girs_pins_leonardo.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Configuration for Arduino Leonardo
4 
5 #ifdef ARDUINO_AVR_NANO
6 #error This file is not for Nano
7 #elif defined(ARDUINO_AVR_MICRO)
8 #error This file is not for Micro
9 #endif
10 
11 #define SIGNAL_LED_1 13
12 #define SIGNAL_LED_2 A1
13 #define SIGNAL_LED_3 A2
14 #define SIGNAL_LED_4 A3
15 #define SIGNAL_LED_5 A0
16 #define SIGNAL_LED_6 6
17 #define SIGNAL_LED_7 7
18 #define SIGNAL_LED_8 8
19 
20 // capture pin (ICP) 4
21 
22 #define IRSENSOR_1_PIN 4
23 
24 #define IRRECEIVER_1_PIN 5
25 #define IRRECEIVER_2_PIN 12
26 
27 // Send pin 3/9